svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.plugin / org.gvsig.app / org.gvsig.app.mainplugin / src / test / java / org / gvsig / app / project / ProjectTest.java @ 40558
History | View | Annotate | Download (2.11 KB)
1 |
/**
|
---|---|
2 |
* gvSIG. Desktop Geographic Information System.
|
3 |
*
|
4 |
* Copyright (C) 2007-2013 gvSIG Association.
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 3
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 |
* MA 02110-1301, USA.
|
20 |
*
|
21 |
* For any additional information, do not hesitate to contact us
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com.
|
23 |
*/
|
24 |
/* CVS MESSAGES:
|
25 |
*
|
26 |
* $Id: ProjectTest.java 29595 2009-06-29 15:57:45Z jpiera $
|
27 |
* $Log$
|
28 |
* Revision 1.1 2006-11-08 10:57:55 jaume
|
29 |
* remove unecessary imports
|
30 |
*
|
31 |
*
|
32 |
*/
|
33 |
package org.gvsig.app.project; |
34 |
|
35 |
import junit.framework.TestCase; |
36 |
|
37 |
//TODO comentado para que compile
|
38 |
public class ProjectTest extends TestCase { |
39 |
static final String projectFile1 = "test/test.gvp"; |
40 |
static final String projectFile2 = "test/test.gvp"; |
41 |
static final String projectFile3 = null; |
42 |
static final String projectFile4 = null; |
43 |
|
44 |
static final String driversPath = "lib-test/drivers"; |
45 |
Project p1, p2; |
46 |
|
47 |
public void setUp() { |
48 |
|
49 |
// LayerFactory.setDriversPath(driversPath);
|
50 |
//
|
51 |
// Reader reader;
|
52 |
//
|
53 |
// // TODO Install drivers support for testing
|
54 |
// try {
|
55 |
// reader = new FileReader(new File(projectFile1));
|
56 |
//
|
57 |
// XmlTag tag = (XmlTag) XmlTag.unmarshal(reader);
|
58 |
// XMLEntity xml=new XMLEntity(tag);
|
59 |
// p1 = Project.createFromXML(xml);
|
60 |
// p2 = Project.createFromXML(xml);
|
61 |
// } catch (Exception e) {
|
62 |
// e.printStackTrace();
|
63 |
// }
|
64 |
|
65 |
} |
66 |
|
67 |
// public void testSignature() {
|
68 |
// try {
|
69 |
// assertTrue(p1.computeSignature() == p2.computeSignature());
|
70 |
// } catch (SaveException e) {}
|
71 |
//// assertTrue(p1.equals(p2));
|
72 |
// }
|
73 |
} |