add-cast-to-tests.patch

Andrés Maneiro, 02/29/2012 05:48 PM

Download (1.26 KB)

View differences:

libraries/libRemoteServices/test/org/gvsig/remoteClient/AllTests.java
1 1
package org.gvsig.remoteClient;
2 2

  
3 3
import junit.framework.Test;
4
import junit.framework.TestCase;
4 5
import junit.framework.TestSuite;
5 6

  
6 7
import org.gvsig.remoteClient.wcs.wcs_1_0_0.WCSProtocolHandler_1_0_0Test;
......
14 15
	public static Test suite() {
15 16
		TestSuite suite = new TestSuite("Test for org.gvsig.remoteClient");
16 17
		//$JUnit-BEGIN$
17
		suite.addTestSuite(Test.class);
18
		suite.addTestSuite((Class<? extends TestCase>) Test.class);
18 19
		
19 20
		//commented until there is a way to simulate the needed servers.
20 21
		//suite.addTestSuite(URLRetrieveTest.class);
21
-