root / branches / v2_0_0_prep / libraries / libGPE-GML / src-test / org / gvsig / gpe / gml / writer / GMLWritersTestSuite.java @ 28113
History | View | Annotate | Download (2.91 KB)
1 |
package org.gvsig.gpe.gml.writer; |
---|---|
2 |
|
3 |
import junit.framework.Test; |
4 |
import junit.framework.TestSuite; |
5 |
|
6 |
import org.gvsig.gpe.gml.GmlLibrary; |
7 |
import org.gvsig.gpe.gml.impl.DefaultGmlLibrary; |
8 |
import org.gvsig.gpe.gml.writer.sfp0.GMLsfp0WritersTestSuite; |
9 |
import org.gvsig.gpe.gml.writer.v2.GMLv2WritersTestSuite; |
10 |
import org.gvsig.gpe.xml.impl.DefaultXmlLibrary; |
11 |
|
12 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
13 |
*
|
14 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
15 |
*
|
16 |
* This program is free software; you can redistribute it and/or
|
17 |
* modify it under the terms of the GNU General Public License
|
18 |
* as published by the Free Software Foundation; either version 2
|
19 |
* of the License, or (at your option) any later version.
|
20 |
*
|
21 |
* This program is distributed in the hope that it will be useful,
|
22 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
23 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
24 |
* GNU General Public License for more details.
|
25 |
*
|
26 |
* You should have received a copy of the GNU General Public License
|
27 |
* along with this program; if not, write to the Free Software
|
28 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
29 |
*
|
30 |
* For more information, contact:
|
31 |
*
|
32 |
* Generalitat Valenciana
|
33 |
* Conselleria d'Infraestructures i Transport
|
34 |
* Av. Blasco Ib??ez, 50
|
35 |
* 46010 VALENCIA
|
36 |
* SPAIN
|
37 |
*
|
38 |
* +34 963862235
|
39 |
* gvsig@gva.es
|
40 |
* www.gvsig.gva.es
|
41 |
*
|
42 |
* or
|
43 |
*
|
44 |
* IVER T.I. S.A
|
45 |
* Salamanca 50
|
46 |
* 46005 Valencia
|
47 |
* Spain
|
48 |
*
|
49 |
* +34 963163400
|
50 |
* dac@iver.es
|
51 |
*/
|
52 |
/* CVS MESSAGES:
|
53 |
*
|
54 |
* $Id: GMLWritersTestSuite.java 162 2007-06-29 12:19:48Z jorpiell $
|
55 |
* $Log$
|
56 |
* Revision 1.8 2007/06/29 12:19:34 jorpiell
|
57 |
* The schema validation is made independently of the concrete writer
|
58 |
*
|
59 |
* Revision 1.7 2007/06/28 13:05:09 jorpiell
|
60 |
* The Qname has been updated to the 1.5 JVM machine. The schema validation is made in the GPEWriterHandlerImplementor class
|
61 |
*
|
62 |
* Revision 1.6 2007/06/22 12:22:53 jorpiell
|
63 |
* The typeNotFoundException has been deleted. It never was thrown
|
64 |
*
|
65 |
* Revision 1.5 2007/06/07 14:53:30 jorpiell
|
66 |
* Add the schema support
|
67 |
*
|
68 |
* Revision 1.4 2007/05/16 09:29:31 jorpiell
|
69 |
* The polygons has to be closed
|
70 |
*
|
71 |
* Revision 1.3 2007/05/15 12:10:01 jorpiell
|
72 |
* The bbox is linked to the feature
|
73 |
*
|
74 |
* Revision 1.2 2007/05/14 11:40:27 jorpiell
|
75 |
* Add the writting tests
|
76 |
*
|
77 |
*
|
78 |
*/
|
79 |
/**
|
80 |
* @author Jorge Piera LLodr? (jorge.piera@iver.es)
|
81 |
*/
|
82 |
public class GMLWritersTestSuite { |
83 |
|
84 |
public static Test suite() { |
85 |
DefaultGmlLibrary lib = new DefaultGmlLibrary();
|
86 |
lib.initialize(); |
87 |
lib.postInitialize(); |
88 |
|
89 |
DefaultXmlLibrary xmlLibrary = new DefaultXmlLibrary();
|
90 |
xmlLibrary.initialize(); |
91 |
xmlLibrary.postInitialize(); |
92 |
|
93 |
TestSuite suite = new TestSuite("Test for org.gvsig.gpe.gml.writers"); |
94 |
//$JUnit-BEGIN$
|
95 |
suite.addTest(GMLv2WritersTestSuite.suite()); |
96 |
suite.addTest(GMLsfp0WritersTestSuite.suite()); |
97 |
//$JUnit-END$
|
98 |
return suite;
|
99 |
} |
100 |
|
101 |
} |