cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1124310 - in /cxf/trunk/systests: transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/ transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/ transports/src/test/java/org/apache/cxf/systest/multitransport/
Date Wed, 18 May 2011 16:03:59 GMT
Author: dkulp
Date: Wed May 18 16:03:58 2011
New Revision: 1124310

URL: http://svn.apache.org/viewvc?rev=1124310&view=rev
Log:
Get more tests running with IBM JDK

Modified:
    cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/AbstractSOAPJMSTestSuite.java
    cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/JMSTransactionClientServerTest.java
    cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/multitransport/MultiTransportClientServerTest.java

Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/AbstractSOAPJMSTestSuite.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/AbstractSOAPJMSTestSuite.java?rev=1124310&r1=1124309&r2=1124310&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/AbstractSOAPJMSTestSuite.java
(original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/jms/testsuite/testcases/AbstractSOAPJMSTestSuite.java
Wed May 18 16:03:58 2011
@@ -71,6 +71,7 @@ public abstract class AbstractSOAPJMSTes
         Service service = serviceConstructor.newInstance(new Object[] {
             wsdl, qServiceName
         });
+        EmbeddedJMSBrokerLauncher.updateWsdlExtensors(getBus(), wsdlString);
         return service.getPort(qPortName, portTypeClass);
     }
 

Modified: cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/JMSTransactionClientServerTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/JMSTransactionClientServerTest.java?rev=1124310&r1=1124309&r2=1124310&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/JMSTransactionClientServerTest.java
(original)
+++ cxf/trunk/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/tx/JMSTransactionClientServerTest.java
Wed May 18 16:03:58 2011
@@ -81,8 +81,8 @@ public class JMSTransactionClientServerT
         URL wsdl = getWSDLURL("/wsdl/hello_world_doc_lit.wsdl");
         assertNotNull(wsdl);
         String wsdlString = wsdl.toString();
-        EmbeddedJMSBrokerLauncher.updateWsdlExtensors(getBus(), wsdlString);
         SOAPService2 service = new SOAPService2(wsdl, serviceName);
+        EmbeddedJMSBrokerLauncher.updateWsdlExtensors(getBus(), wsdlString);
         assertNotNull(service);
 
         Greeter greeter = service.getPort(portName, Greeter.class);

Modified: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/multitransport/MultiTransportClientServerTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/multitransport/MultiTransportClientServerTest.java?rev=1124310&r1=1124309&r2=1124310&view=diff
==============================================================================
--- cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/multitransport/MultiTransportClientServerTest.java
(original)
+++ cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/multitransport/MultiTransportClientServerTest.java
Wed May 18 16:03:58 2011
@@ -101,11 +101,11 @@ public class MultiTransportClientServerT
         URL wsdl = getClass().getResource("/wsdl/hello_world_doc_lit.wsdl");
         assertNotNull(wsdl);
         String wsdlString = wsdl.toString();
-        EmbeddedJMSBrokerLauncher.updateWsdlExtensors(getBus(), wsdlString);
-
         MultiTransportService service = new MultiTransportService(wsdl, serviceName);
         assertNotNull(service);
-
+        EmbeddedJMSBrokerLauncher.updateWsdlExtensors(getBus(), wsdlString);
+        
+        
         String response1 = new String("Hello Milestone-");
         String response2 = new String("Bonjour");
         try {
@@ -130,6 +130,8 @@ public class MultiTransportClientServerT
               
             }
             
+            greeter = null;
+            
             greeter = service.getPort(portName2, Greeter.class);
             for (int idx = 0; idx < 5; idx++) {
                 String greeting = greeter.greetMe("Milestone-" + idx);
@@ -149,8 +151,6 @@ public class MultiTransportClientServerT
                 }                
               
             }
-
-            
         } catch (UndeclaredThrowableException ex) {
             throw (Exception)ex.getCause();
         }



Mime
View raw message