cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r547600 - in /incubator/cxf/trunk: rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/ rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/support/ systests/src/test/java/org/apache/cxf/systest/jaxws/ systests/src/test/java/...
Date Fri, 15 Jun 2007 10:03:54 GMT
Author: ffang
Date: Fri Jun 15 03:03:53 2007
New Revision: 547600

URL: http://svn.apache.org/viewvc?view=rev&rev=547600
Log:
enable some ignored tests

Modified:
    incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAInInterceptor.java
    incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBeanTest.java
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/AnyClientServerTest.java
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/swa/ClientServerSwaTest.java

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAInInterceptor.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAInInterceptor.java?view=diff&rev=547600&r1=547599&r2=547600
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAInInterceptor.java
(original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAInInterceptor.java
Fri Jun 15 03:03:53 2007
@@ -75,9 +75,13 @@
             boolean found = false;
             
             int idx = mpi.getMessageInfo().getMessagePartIndex(mpi);
-            while (idx >= inObjects.size()) {
+            /*while (idx >= inObjects.size()) {
                 inObjects.add(null);
-            }
+            }*/
+            
+            //fix for testSwaWithHeaders of ClientServerSwaTest
+            inObjects.add(idx, null);
+            
             if (inObjects.get(idx) != null) {
                 continue;
             }

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBeanTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBeanTest.java?view=diff&rev=547600&r1=547599&r2=547600
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBeanTest.java
(original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBeanTest.java
Fri Jun 15 03:03:53 2007
@@ -45,7 +45,6 @@
 import org.apache.cxf.service.model.ServiceInfo;
 import org.apache.cxf.wsdl11.ServiceWSDLBuilder;
 import org.apache.hello_world_soap_http.GreeterImpl;
-import org.junit.Ignore;
 import org.junit.Test;
 
 public class JaxWsServiceFactoryBeanTest extends AbstractJaxWsTest {
@@ -96,7 +95,7 @@
         assertNotNull(mpi.getTypeClass());
     }
     
-    @Ignore
+    @Test
     public void testHolder() throws Exception {
         ReflectionServiceFactoryBean bean = new JaxWsServiceFactoryBean();
 

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/AnyClientServerTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/AnyClientServerTest.java?view=diff&rev=547600&r1=547599&r2=547600
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/AnyClientServerTest.java
(original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/AnyClientServerTest.java
Fri Jun 15 03:03:53 2007
@@ -39,7 +39,6 @@
 import org.apache.hello_world_soap_http.any_types.GreeterImpl;
 import org.apache.hello_world_soap_http.any_types.SayHi.Port;
 import org.junit.BeforeClass;
-import org.junit.Ignore;
 import org.junit.Test;
 
 public final class AnyClientServerTest extends AbstractBusClientServerTestBase {
@@ -76,7 +75,6 @@
     }
 
     @Test
-    //@Ignore
     public void testAny() throws Exception {
         URL wsdl = getClass().getResource("/wsdl/any.wsdl");
         assertNotNull(wsdl);
@@ -104,7 +102,6 @@
     }
     
     @Test
-    @Ignore
     public void testList() throws Exception {
         URL wsdl = getClass().getResource("/wsdl/any.wsdl");
         assertNotNull(wsdl);

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/swa/ClientServerSwaTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/swa/ClientServerSwaTest.java?view=diff&rev=547600&r1=547599&r2=547600
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/swa/ClientServerSwaTest.java
(original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/swa/ClientServerSwaTest.java
Fri Jun 15 03:03:53 2007
@@ -36,7 +36,6 @@
 import org.apache.cxf.swa.types.VoidRequest;
 import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
 import org.junit.BeforeClass;
-import org.junit.Ignore;
 import org.junit.Test;
 
 public class ClientServerSwaTest extends AbstractBusClientServerTestBase {
@@ -75,7 +74,6 @@
     }
     
     @Test
-    @Ignore
     public void testSwaWithHeaders() throws Exception {
         SwAService service = new SwAService();
         



Mime
View raw message