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 di...@apache.org on 2007/02/07 23:06:04 UTC
svn commit: r504712 [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/proxy/RPCProxyTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/RPCProxyTests.java?view=diff&rev=504712&r1=504711&r2=504712
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/RPCProxyTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/RPCProxyTests.java Wed Feb 7 14:06:01 2007
@@ -34,12 +34,15 @@
import javax.xml.ws.WebServiceException;
import junit.framework.TestCase;
+import junit.framework.Test;
+import junit.framework.TestSuite;
import org.apache.axis2.jaxws.proxy.rpclit.RPCLitImpl;
import org.apache.axis2.jaxws.proxy.rpclit.sei.RPCLit;
+import org.apache.axis2.jaxws.framework.AbstractTestCase;
import org.test.proxy.rpclit.ComplexAll;
import org.test.proxy.rpclit.Enum;
-public class RPCProxyTests extends TestCase {
+public class RPCProxyTests extends AbstractTestCase {
private QName serviceName = new QName(
"http://org.apache.axis2.jaxws.proxy.rpclit", "RPCLitService");
@@ -48,6 +51,10 @@
"RPCLit");
private String wsdlLocation = System.getProperty("basedir",".")+"/"+"test/org/apache/axis2/jaxws/proxy/rpclit/META-INF/RPCLit.wsdl";
+ public static Test suite() {
+ return getTestSetup(new TestSuite(RPCProxyTests.class));
+ }
+
/**
* Utility method to get the proxy
* @return RPCLit proxy
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/SOAP12ProxyTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/SOAP12ProxyTests.java?view=diff&rev=504712&r1=504711&r2=504712
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/SOAP12ProxyTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/proxy/SOAP12ProxyTests.java Wed Feb 7 14:06:01 2007
@@ -22,15 +22,18 @@
import javax.xml.ws.WebServiceException;
import junit.framework.TestCase;
+import junit.framework.Test;
+import junit.framework.TestSuite;
import org.apache.axis2.jaxws.proxy.soap12.Echo;
import org.apache.axis2.jaxws.proxy.soap12.SOAP12EchoService;
+import org.apache.axis2.jaxws.framework.AbstractTestCase;
/**
* A suite of tests to test dynamic proxy clients sending SOAP 1.2
* requests. The endpoint can accept different keys to determine
* what it should send back.
*/
-public class SOAP12ProxyTests extends TestCase {
+public class SOAP12ProxyTests extends AbstractTestCase {
private static final String SEND_SOAP11_RESPONSE = "RESPONSE-SOAP11";
private static final String SEND_SOAP12_RESPONSE = "RESPONSE-SOAP12";
@@ -39,6 +42,10 @@
super(name);
}
+ public static Test suite() {
+ return getTestSetup(new TestSuite(SOAP12ProxyTests.class));
+ }
+
/**
* Send a SOAP 1.2 request and expect a SOAP 1.2 response.
*/
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/AddNumbersTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/AddNumbersTests.java?view=diff&rev=504712&r1=504711&r2=504712
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/AddNumbersTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/AddNumbersTests.java Wed Feb 7 14:06:01 2007
@@ -21,13 +21,20 @@
import javax.xml.ws.BindingProvider;
import junit.framework.TestCase;
+import junit.framework.Test;
+import junit.framework.TestSuite;
import org.apache.axis2.jaxws.sample.addnumbers.AddNumbersPortType;
import org.apache.axis2.jaxws.sample.addnumbers.AddNumbersService;
+import org.apache.axis2.jaxws.framework.AbstractTestCase;
-public class AddNumbersTests extends TestCase {
+public class AddNumbersTests extends AbstractTestCase {
String axisEndpoint = "http://localhost:8080/axis2/services/AddNumbersService";
+ public static Test suite() {
+ return getTestSetup(new TestSuite(AddNumbersTests.class));
+ }
+
public void testAddNumbers() {
try{
System.out.println("----------------------------------");
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/AddressBookTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/AddressBookTests.java?view=diff&rev=504712&r1=504711&r2=504712
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/AddressBookTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/AddressBookTests.java Wed Feb 7 14:06:01 2007
@@ -25,17 +25,20 @@
import javax.xml.ws.soap.SOAPBinding;
import junit.framework.TestCase;
+import junit.framework.Test;
+import junit.framework.TestSuite;
import org.apache.axis2.jaxws.sample.addressbook.AddEntry;
import org.apache.axis2.jaxws.sample.addressbook.AddEntryResponse;
import org.apache.axis2.jaxws.sample.addressbook.AddressBook;
import org.apache.axis2.jaxws.sample.addressbook.AddressBookEntry;
import org.apache.axis2.jaxws.sample.addressbook.ObjectFactory;
+import org.apache.axis2.jaxws.framework.AbstractTestCase;
/**
* This tests the AddressBook same service that exists under
* org.apache.axis2.jaxws.sample.addressbook.*
*/
-public class AddressBookTests extends TestCase {
+public class AddressBookTests extends AbstractTestCase {
private static final String NAMESPACE = "http://org/apache/axis2/jaxws/sample/addressbook";
private static final QName QNAME_SERVICE = new QName(
@@ -44,6 +47,10 @@
NAMESPACE, "AddressBook");
private static final String URL_ENDPOINT = "http://localhost:8080/axis2/services/AddressBookService";
+ public static Test suite() {
+ return getTestSetup(new TestSuite(AddressBookTests.class));
+ }
+
/**
* Test the endpoint by invoking it with a JAX-WS Dispatch.
*/
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/BareTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/BareTests.java?view=diff&rev=504712&r1=504711&r2=504712
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/BareTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/BareTests.java Wed Feb 7 14:06:01 2007
@@ -6,12 +6,19 @@
import javax.xml.ws.BindingProvider;
import junit.framework.TestCase;
+import junit.framework.Test;
+import junit.framework.TestSuite;
import org.apache.axis2.jaxws.sample.doclitbare.sei.BareDocLitService;
import org.apache.axis2.jaxws.sample.doclitbare.sei.DocLitBarePortType;
+import org.apache.axis2.jaxws.framework.AbstractTestCase;
-public class BareTests extends TestCase {
-
- public void testTwoWaySync(){
+public class BareTests extends AbstractTestCase {
+
+ public static Test suite() {
+ return getTestSetup(new TestSuite(BareTests.class));
+ }
+
+ public void testTwoWaySync(){
System.out.println("------------------------------");
System.out.println("Test : "+getName());
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/FaultsServiceTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/FaultsServiceTests.java?view=diff&rev=504712&r1=504711&r2=504712
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/FaultsServiceTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/FaultsServiceTests.java Wed Feb 7 14:06:01 2007
@@ -10,6 +10,8 @@
import javax.xml.ws.soap.SOAPFaultException;
import junit.framework.TestCase;
+import junit.framework.Test;
+import junit.framework.TestSuite;
import org.apache.axis2.jaxws.sample.faultsservice.BaseFault_Exception;
import org.apache.axis2.jaxws.sample.faultsservice.ComplexFault_Exception;
import org.apache.axis2.jaxws.sample.faultsservice.DerivedFault1_Exception;
@@ -18,15 +20,20 @@
import org.apache.axis2.jaxws.sample.faultsservice.FaultsServicePortType;
import org.apache.axis2.jaxws.sample.faultsservice.InvalidTickerFault_Exception;
import org.apache.axis2.jaxws.sample.faultsservice.SimpleFault;
+import org.apache.axis2.jaxws.framework.AbstractTestCase;
import org.test.polymorphicfaults.BaseFault;
import org.test.polymorphicfaults.ComplexFault;
import org.test.polymorphicfaults.DerivedFault1;
import org.test.polymorphicfaults.DerivedFault2;
-public class FaultsServiceTests extends TestCase {
+public class FaultsServiceTests extends AbstractTestCase {
String axisEndpoint = "http://localhost:8080/axis2/services/FaultsService";
+ public static Test suite() {
+ return getTestSetup(new TestSuite(FaultsServiceTests.class));
+ }
+
/**
* Utility method to get the proxy
* @return proxy
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/FaultyWebServiceTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/FaultyWebServiceTests.java?view=diff&rev=504712&r1=504711&r2=504712
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/FaultyWebServiceTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/FaultyWebServiceTests.java Wed Feb 7 14:06:01 2007
@@ -14,16 +14,24 @@
import javax.xml.ws.soap.SOAPFaultException;
import junit.framework.TestCase;
+import junit.framework.Test;
+import junit.framework.TestSuite;
import org.apache.axis2.jaxws.sample.faults.FaultyWebServiceFault_Exception;
import org.apache.axis2.jaxws.sample.faults.FaultyWebServicePortType;
import org.apache.axis2.jaxws.sample.faults.FaultyWebServiceService;
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.faults.FaultyWebServiceResponse;
-public class FaultyWebServiceTests extends TestCase {
+public class FaultyWebServiceTests extends AbstractTestCase {
String axisEndpoint = "http://localhost:8080/axis2/services/FaultyWebServiceService";
+
+ public static Test suite() {
+ return getTestSetup(new TestSuite(FaultyWebServiceTests.class));
+ }
+
public void testFaultyWebService(){
FaultyWebServiceFault_Exception exception = null;
try{
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/MtomSampleByteArrayTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/MtomSampleByteArrayTests.java?view=diff&rev=504712&r1=504711&r2=504712
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/MtomSampleByteArrayTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/MtomSampleByteArrayTests.java Wed Feb 7 14:06:01 2007
@@ -11,21 +11,28 @@
import javax.xml.ws.soap.SOAPBinding;
import junit.framework.TestCase;
+import junit.framework.Test;
+import junit.framework.TestSuite;
import org.apache.axis2.jaxws.sample.mtom1.ImageDepot;
import org.apache.axis2.jaxws.sample.mtom1.ObjectFactory;
import org.apache.axis2.jaxws.sample.mtom1.Invoke;
import org.apache.axis2.jaxws.sample.mtom1.SendImageResponse;
+import org.apache.axis2.jaxws.framework.AbstractTestCase;
import org.w3._2005._05.xmlmime.Base64Binary;
import com.sun.xml.bind.v2.runtime.unmarshaller.Base64Data;
-public class MtomSampleByteArrayTests extends TestCase {
+public class MtomSampleByteArrayTests extends AbstractTestCase {
private static final QName QNAME_SERVICE = new QName("urn://mtom1.sample.jaxws.axis2.apache.org", "SendImageService");
private static final QName QNAME_PORT = new QName("urn://mtom1.sample.jaxws.axis2.apache.org", "sendImageSoap");
private static final String URL_ENDPOINT = "http://localhost:8080/axis2/services/SendImageService";
private static final String IMAGE_DIR = System.getProperty("basedir",".")+File.separator+"test-resources"+File.separator+"image";
+
+ public static Test suite() {
+ return getTestSetup(new TestSuite(MtomSampleByteArrayTests.class));
+ }
/*
* Enable attachment Optimization through the SOAPBinding method
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/MtomSampleTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/MtomSampleTests.java?view=diff&rev=504712&r1=504711&r2=504712
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/MtomSampleTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/MtomSampleTests.java Wed Feb 7 14:06:01 2007
@@ -17,19 +17,26 @@
import javax.xml.ws.soap.SOAPBinding;
import junit.framework.TestCase;
+import junit.framework.Test;
+import junit.framework.TestSuite;
import org.apache.axis2.jaxws.provider.DataSourceImpl;
+import org.apache.axis2.jaxws.framework.AbstractTestCase;
import org.test.mtom.ImageDepot;
import org.test.mtom.ObjectFactory;
import org.test.mtom.SendImage;
import org.test.mtom.SendImageResponse;
-public class MtomSampleTests extends TestCase {
+public class MtomSampleTests extends AbstractTestCase {
private static final QName QNAME_SERVICE = new QName("urn://mtom.test.org", "MtomSampleService");
private static final QName QNAME_PORT = new QName("urn://mtom.test.org", "MtomSample");
private static final String URL_ENDPOINT = "http://localhost:8080/axis2/services/MtomSampleService";
private static final String IMAGE_DIR = System.getProperty("basedir",".")+"/"+"test-resources"+File.separator+"image";
+ public static Test suite() {
+ return getTestSetup(new TestSuite(MtomSampleTests.class));
+ }
+
/*
* Enable attachment Optimization through the SOAPBinding method
* -- setMTOMEnabled([true|false])
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/NonWrapTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/NonWrapTests.java?view=diff&rev=504712&r1=504711&r2=504712
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/NonWrapTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/NonWrapTests.java Wed Feb 7 14:06:01 2007
@@ -8,14 +8,17 @@
import javax.xml.ws.Holder;
import junit.framework.TestCase;
+import junit.framework.Test;
+import junit.framework.TestSuite;
import org.apache.axis2.jaxws.sample.nonwrap.sei.DocLitNonWrapPortType;
import org.apache.axis2.jaxws.sample.nonwrap.sei.DocLitNonWrapService;
+import org.apache.axis2.jaxws.framework.AbstractTestCase;
import org.test.sample.nonwrap.ObjectFactory;
import org.test.sample.nonwrap.ReturnType;
import org.test.sample.nonwrap.TwoWay;
import org.test.sample.nonwrap.TwoWayHolder;
-public class NonWrapTests extends TestCase {
+public class NonWrapTests extends AbstractTestCase {
public NonWrapTests() {
@@ -31,6 +34,10 @@
// TODO Auto-generated constructor stub
}
+ public static Test suite() {
+ return getTestSetup(new TestSuite(NonWrapTests.class));
+ }
+
public void testTwoWaySync(){
System.out.println("------------------------------");
System.out.println("Test : "+getName());
Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/ParallelAsyncTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/ParallelAsyncTests.java?view=diff&rev=504712&r1=504711&r2=504712
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/ParallelAsyncTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/ParallelAsyncTests.java Wed Feb 7 14:06:01 2007
@@ -12,6 +12,7 @@
import junit.framework.TestSuite;
import org.apache.axis2.jaxws.sample.parallelasync.server.AsyncPort;
import org.apache.axis2.jaxws.sample.parallelasync.server.AsyncService;
+import org.apache.axis2.jaxws.framework.AbstractTestCase;
import org.apache.log4j.BasicConfigurator;
import org.test.parallelasync.CustomAsyncResponse;
import org.test.parallelasync.SleepResponse;
@@ -22,7 +23,7 @@
*
* ExecutionException tests are covered in jaxws.dispatch and jaxws.proxy
*/
-public class ParallelAsyncTests extends TestCase {
+public class ParallelAsyncTests extends AbstractTestCase {
private static final String DOCLITWR_ASYNC_ENDPOINT =
"http://localhost:8080/axis2/services/AsyncService";
@@ -33,9 +34,7 @@
}
public static Test suite() {
- TestSuite suite = new TestSuite(ParallelAsyncTests.class);
- return suite;
-
+ return getTestSetup(new TestSuite(ParallelAsyncTests.class));
}
public void setUp() {
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=504712&r1=504711&r2=504712
==============================================================================
--- 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 Wed Feb 7 14:06:01 2007
@@ -21,13 +21,20 @@
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 TestCase {
+public class WSGenTests extends AbstractTestCase {
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=504712&r1=504711&r2=504712
==============================================================================
--- 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 Wed Feb 7 14:06:01 2007
@@ -6,14 +6,17 @@
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 TestCase {
+public class WrapTests extends AbstractTestCase {
/**
*
@@ -30,8 +33,12 @@
super(arg0);
// TODO Auto-generated constructor stub
}
-
- public void testTwoWaySync(){
+
+ public static Test suite() {
+ return getTestSetup(new TestSuite(WrapTests.class));
+ }
+
+ 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=504712&r1=504711&r2=504712
==============================================================================
--- 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 Wed Feb 7 14:06:01 2007
@@ -30,7 +30,7 @@
URL url = null;
try {
try{
- String baseDir = new File(".").getCanonicalPath();
+ String baseDir = new File(System.getProperty("basedir",".")).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=504712&r1=504711&r2=504712
==============================================================================
--- 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 Wed Feb 7 14:06:01 2007
@@ -23,9 +23,12 @@
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 TestCase {
+public class BasicAuthSecurityTests extends AbstractTestCase {
private String endpointUrl = "http://localhost:8080/axis2/services/BasicAuthSecurityService";
private String xmlString = "<invoke>test input</invoke>";
@@ -34,6 +37,10 @@
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