You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ba...@apache.org on 2007/02/08 20:08:31 UTC

svn commit: r505003 [2/2] - in /webservices/axis2/trunk/java/modules/jaxws: ./ src/org/apache/axis2/jaxws/client/ test/org/apache/axis2/jaxws/anytype/tests/ test/org/apache/axis2/jaxws/attachments/ test/org/apache/axis2/jaxws/client/ test/org/apache/ax...

Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/WSGenTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/WSGenTests.java?view=diff&rev=505003&r1=505002&r2=505003
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/WSGenTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/WSGenTests.java Thu Feb  8 11:08:26 2007
@@ -21,20 +21,13 @@
 import javax.xml.ws.BindingProvider;
 
 import junit.framework.TestCase;
-import junit.framework.Test;
-import junit.framework.TestSuite;
 import org.apache.axis2.jaxws.sample.wsgen.client.WSGenService;
 import org.apache.axis2.jaxws.sample.wsgen.client.WSGenInterface;
-import org.apache.axis2.jaxws.framework.AbstractTestCase;
 
-public class WSGenTests extends AbstractTestCase {
+public class WSGenTests extends TestCase {
     
     String axisEndpoint = "http://localhost:8080/axis2/services/WSGenService";
     
-    public static Test suite() {
-        return getTestSetup(new TestSuite(WSGenTests.class));
-    }
-
     public void testWSGen() {
         try{
             System.out.println("----------------------------------");

Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/WrapTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/WrapTests.java?view=diff&rev=505003&r1=505002&r2=505003
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/WrapTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/WrapTests.java Thu Feb  8 11:08:26 2007
@@ -6,17 +6,14 @@
 import javax.xml.ws.Holder;
 
 import junit.framework.TestCase;
-import junit.framework.Test;
-import junit.framework.TestSuite;
 import org.apache.axis2.jaxws.sample.wrap.sei.DocLitWrap;
 import org.apache.axis2.jaxws.sample.wrap.sei.DocLitWrapService;
-import org.apache.axis2.jaxws.framework.AbstractTestCase;
 import org.test.sample.wrap.Header;
 import org.test.sample.wrap.HeaderPart0;
 import org.test.sample.wrap.HeaderPart1;
 import org.test.sample.wrap.HeaderResponse;
 
-public class WrapTests extends AbstractTestCase {
+public class WrapTests extends TestCase {
 
 	/**
 	 * 
@@ -33,12 +30,8 @@
 		super(arg0);
 		// TODO Auto-generated constructor stub
 	}
-
-    public static Test suite() {
-        return getTestSetup(new TestSuite(WrapTests.class));
-    }
-    
-    public void testTwoWaySync(){
+	
+	public void testTwoWaySync(){
 		System.out.println("------------------------------");
 		System.out.println("Test : "+getName());
 		try{

Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/wsgen/client/WSGenService.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/wsgen/client/WSGenService.java?view=diff&rev=505003&r1=505002&r2=505003
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/wsgen/client/WSGenService.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/wsgen/client/WSGenService.java Thu Feb  8 11:08:26 2007
@@ -30,7 +30,7 @@
         URL url = null;
         try {
             try{
-                String baseDir = new File(System.getProperty("basedir",".")).getCanonicalPath();
+                String baseDir = new File(".").getCanonicalPath();
                 wsdlLocation = new File(baseDir + wsdlLocation).getAbsolutePath();
             }catch(Exception e){
                 e.printStackTrace();

Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/security/BasicAuthSecurityTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/security/BasicAuthSecurityTests.java?view=diff&rev=505003&r1=505002&r2=505003
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/security/BasicAuthSecurityTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/security/BasicAuthSecurityTests.java Thu Feb  8 11:08:26 2007
@@ -23,12 +23,9 @@
 import javax.xml.ws.soap.SOAPBinding;
 
 import junit.framework.TestCase;
-import junit.framework.Test;
-import junit.framework.TestSuite;
 import org.apache.axis2.jaxws.BindingProvider;
-import org.apache.axis2.jaxws.framework.AbstractTestCase;
 
-public class BasicAuthSecurityTests extends AbstractTestCase {
+public class BasicAuthSecurityTests extends TestCase {
 
     private String endpointUrl = "http://localhost:8080/axis2/services/BasicAuthSecurityService";
     private String xmlString = "<invoke>test input</invoke>";
@@ -37,10 +34,6 @@
 
 	private String USER_ID = "testid";
 	private String PASSWORD = "testid";
-
-    public static Test suite() {
-        return getTestSetup(new TestSuite(BasicAuthSecurityTests.class));
-    }
 
     protected void setUp() throws Exception {
             super.setUp();



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org