Revision 4427 trunk/libraries/libRemoteServices/test/org/gvsig/remoteClient/wcs/wcs_1_0_0/WCSProtocolHandler_1_0_0Test.java
WCSProtocolHandler_1_0_0Test.java | ||
---|---|---|
41 | 41 |
/* |
42 | 42 |
* $Id$ |
43 | 43 |
* $Log$ |
44 |
* Revision 1.6 2006-03-06 07:16:08 jaume
|
|
44 |
* Revision 1.7 2006-03-15 08:54:31 jaume
|
|
45 | 45 |
* *** empty log message *** |
46 | 46 |
* |
47 |
* Revision 1.6 2006/03/06 07:16:08 jaume |
|
48 |
* *** empty log message *** |
|
49 |
* |
|
47 | 50 |
* Revision 1.5 2006/03/02 07:17:08 jaume |
48 | 51 |
* *** empty log message *** |
49 | 52 |
* |
... | ... | |
64 | 67 |
import junit.framework.TestCase; |
65 | 68 |
|
66 | 69 |
public class WCSProtocolHandler_1_0_0Test extends TestCase { |
67 |
WCSProtocolHandler1_0_0 handler1, handler2, handler3; |
|
70 |
WCSProtocolHandler1_0_0 handler1, handler2, handler3, handler4;
|
|
68 | 71 |
|
69 | 72 |
public void setUp() { |
70 | 73 |
System.out.println("Setting up test.."); |
71 | 74 |
handler1 = new WCSProtocolHandler1_0_0(); |
72 | 75 |
handler2 = new WCSProtocolHandler1_0_0(); |
73 | 76 |
handler3 = new WCSProtocolHandler1_0_0(); |
77 |
handler4 = new WCSProtocolHandler1_0_0(); |
|
74 | 78 |
} |
75 | 79 |
|
76 | 80 |
|
... | ... | |
83 | 87 |
assertTrue(handler2.parseDescribeCoverage(new File("test/WCS-simonCITCostasDescribeCoverage.xml"))); |
84 | 88 |
assertTrue(handler3.parseCapabilities(new File("test/WCS-simonCITSpotGetCapabilities.xml"))); |
85 | 89 |
assertTrue(handler3.parseDescribeCoverage(new File("test/WCS-simonCITSpotDescribeCoverage.xml"))); |
90 |
assertTrue(handler4.parseCapabilities(new File("test/WCS-ionicGetCapabilities.xml"))); |
|
91 |
assertTrue(handler4.parseDescribeCoverage(new File("test/WCS-ionicDescribeCoverage.xml"))); |
|
86 | 92 |
long t2 = System.currentTimeMillis(); |
87 | 93 |
System.out.println("Test parsing done with apparently no errors in "+ (t2-(float)t1)/1000+" seconds"); |
88 | 94 |
} |
Also available in: Unified diff