Revision 34026 branches/v2_0_0_prep/libraries/libRemoteServices/test/org/gvsig/remoteclient/wfs/wfs_1_1_0/WFSProtocolHandlerTest1_1_0.java
WFSProtocolHandlerTest1_1_0.java | ||
---|---|---|
76 | 76 |
public void testParsingDescribeFeatureType2() { |
77 | 77 |
long t1 = System.currentTimeMillis(); |
78 | 78 |
assertTrue(handler.parseCapabilities(new File("testdata/wfs/WFS-1_1_0IDEEGetCapabilities.xml"))); |
79 |
handler.setCurrentFeature("ideewfs:VerticeRedOrdenInferior"); |
|
80 |
assertTrue(handler.parseDescribeFeatureType(new File("testdata/wfs/WFS-1_1_0IDEEDescribeFeatureType.xml"),null)); |
|
79 |
handler.setCurrentFeature("ideewfs:VerticeRedOrdenInferior"); |
|
81 | 80 |
long t2 = System.currentTimeMillis(); |
82 | 81 |
Object obj = handler.getFeatures().get("ideewfs:VerticeRedOrdenInferior"); |
83 | 82 |
System.out.println("Test parsing vivid done with apparently no errors in "+ (t2-(float)t1)/1000+" seconds"); |
... | ... | |
86 | 85 |
public void testParsingDescribeFeatureTypeTNT() { |
87 | 86 |
long t1 = System.currentTimeMillis(); |
88 | 87 |
assertTrue(handler.parseCapabilities(new File("testdata/wfs/WFS-1_1_0TNTGetCapabilities.xml"))); |
89 |
handler.setCurrentFeature("BDLL200_Provincia"); |
|
90 |
assertTrue(handler.parseDescribeFeatureType(new File("testdata/wfs/WFS-1_1_0TNTDescribeFeatureType1.xml"),null)); |
|
91 |
assertTrue(handler.parseDescribeFeatureType(new File("testdata/wfs/WFS-1_1_0TNTDescribeFeatureType2.xml"),null)); |
|
88 |
handler.setCurrentFeature("BDLL200_Provincia"); |
|
92 | 89 |
long t2 = System.currentTimeMillis(); |
93 | 90 |
System.out.println("Test parsing IDEE done with apparently no errors in "+ (t2-(float)t1)/1000+" seconds"); |
94 | 91 |
} |
Also available in: Unified diff