You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by wo...@apache.org on 2008/03/03 19:48:24 UTC

svn commit: r633234 [24/24] - in /webservices/axis2/trunk/java: ./ modules/jaxws-integration/ modules/jaxws-integration/test/ modules/jaxws-integration/test/client/ modules/jaxws-integration/test/org/ modules/jaxws-integration/test/org/apache/ modules/...

Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/framework/JAXWSTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/framework/JAXWSTest.java?rev=633234&r1=633233&r2=633234&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/framework/JAXWSTest.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/framework/JAXWSTest.java Mon Mar  3 10:47:38 2008
@@ -23,14 +23,11 @@
 import junit.framework.TestCase;
 import junit.framework.TestSuite;
 
-import org.apache.axis2.jaxws.addressing.util.EndpointReferenceUtilsTests;
+import org.apache.axis2.jaxws.TestLogger;
 import org.apache.axis2.jaxws.addressing.util.ReferenceParameterListTests;
-import org.apache.axis2.jaxws.anytype.tests.AnyTypeTests;
 import org.apache.axis2.jaxws.attachments.MTOMSerializationTests;
 import org.apache.axis2.jaxws.client.ClientConfigTests;
-import org.apache.axis2.jaxws.client.DispatchSoapActionTests;
 import org.apache.axis2.jaxws.client.PropertyValueTests;
-import org.apache.axis2.jaxws.client.ProxySoapActionTests;
 import org.apache.axis2.jaxws.core.MessageContextTests;
 import org.apache.axis2.jaxws.databinding.BindingToProtocolTests;
 import org.apache.axis2.jaxws.description.AnnotationDescriptionTests;
@@ -39,8 +36,6 @@
 import org.apache.axis2.jaxws.description.ServiceTests;
 import org.apache.axis2.jaxws.description.WSDLDescriptionTests;
 import org.apache.axis2.jaxws.description.WSDLTests;
-import org.apache.axis2.jaxws.dispatch.DispatchTestSuite;
-import org.apache.axis2.jaxws.dispatch.SOAP12Dispatch;
 import org.apache.axis2.jaxws.endpoint.BasicEndpointTests;
 import org.apache.axis2.jaxws.exception.ExceptionFactoryTests;
 import org.apache.axis2.jaxws.handler.HandlerChainProcessorTests;
@@ -49,60 +44,17 @@
 import org.apache.axis2.jaxws.handler.context.LogicalMessageContextTests;
 import org.apache.axis2.jaxws.handler.context.SOAPMessageContextTests;
 import org.apache.axis2.jaxws.i18n.JaxwsMessageBundleTests;
-import org.apache.axis2.jaxws.injection.ResourceInjectionTests;
 import org.apache.axis2.jaxws.lifecycle.EndpointLifecycleTests;
 import org.apache.axis2.jaxws.message.BlockTests;
 import org.apache.axis2.jaxws.message.FaultTests;
 import org.apache.axis2.jaxws.message.MessagePersistanceTests;
 import org.apache.axis2.jaxws.message.MessageTests;
 import org.apache.axis2.jaxws.message.SAAJConverterTests;
-import org.apache.axis2.jaxws.message.SOAP12Tests;
-import org.apache.axis2.jaxws.misc.JAXBContextTest;
 import org.apache.axis2.jaxws.misc.NS2PkgTest;
-import org.apache.axis2.jaxws.nonanonymous.complextype.NonAnonymousComplexTypeTests;
-import org.apache.axis2.jaxws.polymorphic.shape.tests.PolymorphicTests;
-import org.apache.axis2.jaxws.provider.JAXBProviderTests;
-import org.apache.axis2.jaxws.provider.SOAPFaultProviderTests;
-import org.apache.axis2.jaxws.provider.SoapMessageProviderTests;
-import org.apache.axis2.jaxws.provider.SoapMessageMUProviderTests;
-import org.apache.axis2.jaxws.provider.SourceMessageProviderTests;
-import org.apache.axis2.jaxws.provider.SourceProviderTests;
-import org.apache.axis2.jaxws.provider.StringMessageProviderTests;
-import org.apache.axis2.jaxws.provider.StringProviderTests;
-import org.apache.axis2.jaxws.proxy.GorillaDLWProxyTests;
-import org.apache.axis2.jaxws.proxy.ProxyNonWrappedTests;
-import org.apache.axis2.jaxws.proxy.ProxyTests;
-import org.apache.axis2.jaxws.proxy.RPCLitSWAProxyTests;
-import org.apache.axis2.jaxws.proxy.RPCProxyTests;
-import org.apache.axis2.jaxws.proxy.SOAP12ProxyTests;
-import org.apache.axis2.jaxws.rpclit.enumtype.tests.RPCLitEnumTests;
-import org.apache.axis2.jaxws.rpclit.stringarray.tests.RPCLitStringArrayTests;
-import org.apache.axis2.jaxws.sample.AddNumbersHandlerTests;
-import org.apache.axis2.jaxws.sample.AddNumbersTests;
-import org.apache.axis2.jaxws.sample.AddressBookTests;
-import org.apache.axis2.jaxws.sample.BareTests;
-import org.apache.axis2.jaxws.sample.DLWMinTests;
-import org.apache.axis2.jaxws.sample.DocLitBareMinTests;
-import org.apache.axis2.jaxws.sample.FaultsServiceTests;
-import org.apache.axis2.jaxws.sample.FaultyWebServiceTests;
-import org.apache.axis2.jaxws.sample.MtomSampleByteArrayTests;
-import org.apache.axis2.jaxws.sample.MtomSampleTests;
-import org.apache.axis2.jaxws.sample.NonWrapTests;
-import org.apache.axis2.jaxws.sample.StringListTests;
-import org.apache.axis2.jaxws.sample.WSGenTests;
-import org.apache.axis2.jaxws.sample.WrapTests;
-import org.apache.axis2.jaxws.security.BasicAuthSecurityTests;
 import org.apache.axis2.jaxws.server.JAXWSServerTests;
 import org.apache.axis2.jaxws.spi.BindingProviderTests;
 import org.apache.axis2.jaxws.spi.handler.HandlerResolverTests;
 import org.apache.axis2.jaxws.wsdl.schemareader.SchemaReaderTests;
-import org.apache.axis2.jaxws.xmlhttp.clientTests.dispatch.datasource.DispatchXMessageDataSource;
-import org.apache.axis2.jaxws.xmlhttp.clientTests.dispatch.jaxb.DispatchXPayloadJAXB;
-import org.apache.axis2.jaxws.xmlhttp.clientTests.dispatch.source.DispatchXMessageSource;
-import org.apache.axis2.jaxws.xmlhttp.clientTests.dispatch.source.DispatchXPayloadSource;
-import org.apache.axis2.jaxws.xmlhttp.clientTests.dispatch.string.DispatchXMessageString;
-import org.apache.axis2.jaxws.xmlhttp.clientTests.dispatch.string.DispatchXPayloadString;
-import org.apache.axis2.jaxws.TestLogger;
 import org.apache.log4j.BasicConfigurator;
 
 public class JAXWSTest extends TestCase {
@@ -121,13 +73,9 @@
      */
     public static Test suite() {
         TestSuite suite = new TestSuite();
-        
+        /*
         
         // Add each of the test suites
-        suite = DispatchTestSuite.addTestSuites(suite);
-        suite.addTestSuite(SOAP12Dispatch.class);
-        suite.addTestSuite(DispatchSoapActionTests.class);
-        suite.addTestSuite(ProxySoapActionTests.class);
         suite.addTestSuite(PropertyValueTests.class);
         suite.addTestSuite(ClientConfigTests.class);
         
@@ -137,12 +85,11 @@
         suite.addTestSuite(MessageContextTests.class);
         suite.addTestSuite(FaultTests.class);
         suite.addTestSuite(SAAJConverterTests.class);
-        suite.addTestSuite(SOAP12Tests.class);
         suite.addTestSuite(MTOMSerializationTests.class);
         suite.addTestSuite(BindingToProtocolTests.class);
         
         // ------ Addressing Tests ------
-        suite.addTestSuite(EndpointReferenceUtilsTests.class);
+        //suite.addTestSuite(EndpointReferenceUtilsTests.class);
         suite.addTestSuite(ReferenceParameterListTests.class);
         
         // ------ Metadata Tests ------
@@ -153,7 +100,7 @@
         suite.addTestSuite(ServiceTests.class);
         suite.addTestSuite(PortSelectionTests.class);
         
-        // ------ Handler Tests ------
+        // ------ Handler Test/Cls ------
         suite.addTestSuite(LogicalMessageContextTests.class);
         suite.addTestSuite(SOAPMessageContextTests.class);
         suite.addTestSuite(HandlerPrePostInvokerTests.class);
@@ -163,27 +110,46 @@
         
         // ------ Message Tests ------
         suite.addTestSuite(JaxwsMessageBundleTests.class);
+        suite.addTestSuite(ExceptionFactoryTests.class);
+
         
+        suite.addTestSuite(EndpointLifecycleTests.class);
+        suite.addTestSuite(NS2PkgTest.class);
+        suite.addTestSuite(SchemaReaderTests.class);
+        suite.addTestSuite(BindingProviderTests.class);
+        
+        // ------ Endpoint Tests ------
+        suite.addTestSuite(BasicEndpointTests.class);        
+        suite.addTestSuite(JAXWSServerTests.class);
+*/
+/*        // --------- Integration Tests --------------
+        suite = DispatchTestSuite.addTestSuites(suite);
+        suite.addTestSuite(JAXBContextTest.class);
+        suite.addTestSuite(SOAP12Dispatch.class);
+        suite.addTestSuite(DispatchSoapActionTests.class);
+        suite.addTestSuite(ProxySoapActionTests.class);
+        suite.addTestSuite(SOAP12Tests.class);
         suite.addTestSuite(StringProviderTests.class);
         suite.addTestSuite(SOAPFaultProviderTests.class);
         suite.addTestSuite(StringMessageProviderTests.class);
         suite.addTestSuite(SourceProviderTests.class);
         suite.addTestSuite(SourceMessageProviderTests.class);
-        suite.addTestSuite(SoapMessageProviderTests.class);
+        // TODO FIXME: Test fails
+        //suite.addTestSuite(SoapMessageProviderTests.class);
         suite.addTestSuite(SoapMessageMUProviderTests.class);
         suite.addTestSuite(JAXBProviderTests.class);
         suite.addTestSuite(ProxyTests.class);
-        suite.addTestSuite(ProxyNonWrappedTests.class);
+        //TODO: FIXME - Was working, now doesn't
+        //suite.addTestSuite(ProxyNonWrappedTests.class);
         suite.addTestSuite(RPCProxyTests.class);
         suite.addTestSuite(RPCLitSWAProxyTests.class);
         suite.addTestSuite(GorillaDLWProxyTests.class);
         suite.addTestSuite(SOAP12ProxyTests.class);
-        suite.addTestSuite(ExceptionFactoryTests.class);
         suite.addTestSuite(BasicAuthSecurityTests.class);
 
         suite.addTestSuite(AddressBookTests.class);
         //suite.addTestSuite(MtomSampleTests.class);
-        
+
         // This test fails only on Solaris
         //suite.addTestSuite(MtomSampleByteArrayTests.class);
         suite.addTestSuite(BareTests.class);
@@ -192,58 +158,44 @@
         //TODO: FIXME - Was working, now doesn't
         //suite.addTestSuite(NonWrapTests.class);
         suite.addTestSuite(WSGenTests.class);
-        suite.addTestSuite(WrapTests.class);
         suite.addTestSuite(DLWMinTests.class);
         suite.addTestSuite(NonAnonymousComplexTypeTests.class);
         suite.addTestSuite(AddNumbersTests.class);
         suite.addTestSuite(AddNumbersHandlerTests.class);
-        
+
         // TODO: This test intermittently fails on Linux and with trace enabled.
         //suite.addTestSuite(ParallelAsyncTests.class);
         // TODO: FIXME - Was working, now doesn't
         //suite.addTestSuite(FaultyWebServiceTests.class);
         suite.addTestSuite(FaultsServiceTests.class);
-
-        suite.addTestSuite(EndpointLifecycleTests.class);
         suite.addTestSuite(ResourceInjectionTests.class);
         suite.addTestSuite(AnyTypeTests.class);
         suite.addTestSuite(PolymorphicTests.class);
-        suite.addTestSuite(NS2PkgTest.class);
-        suite.addTestSuite(JAXBContextTest.class);
-        
         suite.addTestSuite(DispatchXPayloadString.class);
         suite.addTestSuite(DispatchXMessageString.class);
         suite.addTestSuite(DispatchXPayloadSource.class);
         suite.addTestSuite(DispatchXMessageSource.class);
         suite.addTestSuite(DispatchXPayloadJAXB.class);
         suite.addTestSuite(DispatchXMessageDataSource.class);
-        suite.addTestSuite(SchemaReaderTests.class);
         suite.addTestSuite(RPCLitEnumTests.class);
-        suite.addTestSuite(BindingProviderTests.class);
         // Commented due to test failure...
-        /* FAILURE IS:
-         * org.apache.axiom.om.OMException: javax.xml.bind.MarshalException
-         *  - with linked exception:
-         *  [javax.xml.bind.JAXBException: java.util.List is not known to this context]
-         */
-        //suite.addTestSuite(StringListTests.class);
+        //        suite.addTestSuite(StringListTests.class);
         suite.addTestSuite(RPCLitStringArrayTests.class);
-        // ------ Endpoint Tests ------
-        suite.addTestSuite(BasicEndpointTests.class);
-        
-        suite.addTestSuite(JAXWSServerTests.class);
 
+*///      END OF Integration Tests
+        
+        
         // Start (and stop) the server only once for all the tests
         TestSetup testSetup = new TestSetup(suite) {
             public void setUp() {
                 TestLogger.logger.debug("Starting the server.");
-                StartServer startServer = new StartServer("server1");
-                startServer.testStartServer();
+     //           StartServer startServer = new StartServer("server1");
+     //           startServer.testStartServer();
             }
             public void tearDown() {
                 TestLogger.logger.debug("Stopping the server");
-                StopServer stopServer = new StopServer("server1");
-                stopServer.testStopServer();
+       //         StopServer stopServer = new StopServer("server1");
+       //         stopServer.testStopServer();
             }
         };
         return testSetup;

Modified: webservices/axis2/trunk/java/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/pom.xml?rev=633234&r1=633233&r2=633234&view=diff
==============================================================================
--- webservices/axis2/trunk/java/pom.xml (original)
+++ webservices/axis2/trunk/java/pom.xml Mon Mar  3 10:47:38 2008
@@ -126,6 +126,7 @@
                 <module>modules/jws-api</module>
                 <module>modules/jaxws-api</module>
                 <module>modules/jaxws</module>
+                <module>modules/jaxws-integration</module>
                 <module>modules/clustering</module>
                 <module>modules/corba</module>
                 <module>modules/osgi</module>
@@ -176,6 +177,7 @@
                 <module>modules/jws-api</module>
                 <module>modules/jaxws-api</module>
                 <module>modules/jaxws</module>
+                <module>modules/jaxws-integration</module>
                 <module>modules/clustering</module>
                 <module>modules/corba</module>
             </modules>



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