Revision 15554 trunk/libraries/libRemoteServices/test/org/gvsig/remoteClient/wfs/wfs_1_1_0/WFSProtocolHandlerTest1_1_0.java

View differences:

WFSProtocolHandlerTest1_1_0.java
84 84
		Object obj = handler.getFeatures().get("ideewfs:VerticeRedOrdenInferior");
85 85
		System.out.println("Test parsing vivid done with apparently no errors in "+ (t2-(float)t1)/1000+" seconds");
86 86
	}
87
	
88
	public void testParsingDescribeFeatureTypeTNT() {
89
		long t1 = System.currentTimeMillis();
90
		assertTrue(handler.parseCapabilities(new File("testdata/wfs/WFS-1_1_0TNTGetCapabilities.xml")));
91
		handler.setCurrentFeature("BDLL200_Provincia");
92
		assertTrue(handler.parseDescribeFeatureType(new File("testdata/wfs/WFS-1_1_0TNTDescribeFeatureType1.xml"),null));
93
		assertTrue(handler.parseDescribeFeatureType(new File("testdata/wfs/WFS-1_1_0TNTDescribeFeatureType2.xml"),null));
94
		long t2 = System.currentTimeMillis();
95
		System.out.println("Test parsing IDEE done with apparently no errors in "+ (t2-(float)t1)/1000+" seconds");
96
	}
87 97
}

Also available in: Unified diff