geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r520629 - /geronimo/server/trunk/modules/geronimo-axis2/src/test/java/org/apache/geronimo/axis2/Axis2HandlerResolverTest.java
Date Tue, 20 Mar 2007 22:30:47 GMT
Author: jdillon
Date: Tue Mar 20 15:30:45 2007
New Revision: 520629

URL: http://svn.apache.org/viewvc?view=rev&rev=520629
Log:
Make this compile again... not sure its the right behavior

Modified:
    geronimo/server/trunk/modules/geronimo-axis2/src/test/java/org/apache/geronimo/axis2/Axis2HandlerResolverTest.java

Modified: geronimo/server/trunk/modules/geronimo-axis2/src/test/java/org/apache/geronimo/axis2/Axis2HandlerResolverTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-axis2/src/test/java/org/apache/geronimo/axis2/Axis2HandlerResolverTest.java?view=diff&rev=520629&r1=520628&r2=520629
==============================================================================
--- geronimo/server/trunk/modules/geronimo-axis2/src/test/java/org/apache/geronimo/axis2/Axis2HandlerResolverTest.java
(original)
+++ geronimo/server/trunk/modules/geronimo-axis2/src/test/java/org/apache/geronimo/axis2/Axis2HandlerResolverTest.java
Tue Mar 20 15:30:45 2007
@@ -28,7 +28,8 @@
 
 import javax.xml.ws.handler.Handler;
 import javax.xml.ws.handler.PortInfo;
-import org.apache.axis2.jaxws.javaee.HandlerChainsType;
+
+import org.apache.geronimo.xbeans.javaee.HandlerChainsType;
 
 import org.apache.geronimo.testsupport.TestSupport;
 
@@ -38,7 +39,7 @@
         InputStream in = getClass().getResourceAsStream("/handlers.xml");
         assertTrue(in != null);
         HandlerChainsType handlerChains = toHandlerChains(in); 
-        assertEquals(3, handlerChains.getHandlerChain().size());
+        assertEquals(3, handlerChains.getHandlerChainArray().length);
         
         Axis2HandlerResolver resolver = 
             new Axis2HandlerResolver(getClass().getClassLoader(), getClass(), handlerChains,
null);
@@ -53,7 +54,7 @@
         InputStream in = getClass().getResourceAsStream("/handlers_service.xml");
         assertTrue(in != null);
         HandlerChainsType handlerChains = toHandlerChains(in); 
-        assertEquals(3, handlerChains.getHandlerChain().size());
+        assertEquals(3, handlerChains.getHandlerChainArray().length);
         
         Axis2HandlerResolver resolver = 
             new Axis2HandlerResolver(getClass().getClassLoader(), getClass(), handlerChains,
null);
@@ -84,7 +85,7 @@
         InputStream in = getClass().getResourceAsStream("/handlers_bindings.xml");
         assertTrue(in != null);
         HandlerChainsType handlerChains = toHandlerChains(in); 
-        assertEquals(3, handlerChains.getHandlerChain().size());
+        assertEquals(3, handlerChains.getHandlerChainArray().length);
         
         Axis2HandlerResolver resolver = 
             new Axis2HandlerResolver(getClass().getClassLoader(), getClass(), handlerChains,
null);
@@ -108,7 +109,7 @@
         InputStream in = getClass().getResourceAsStream("/handlers_port.xml");
         assertTrue(in != null);
         HandlerChainsType handlerChains = toHandlerChains(in); 
-        assertEquals(3, handlerChains.getHandlerChain().size());
+        assertEquals(3, handlerChains.getHandlerChainArray().length);
         
         Axis2HandlerResolver resolver = 
             new Axis2HandlerResolver(getClass().getClassLoader(), getClass(), handlerChains,
null);
@@ -139,7 +140,7 @@
         InputStream in = getClass().getResourceAsStream("/handlers_mixed.xml");
         assertTrue(in != null);
         HandlerChainsType handlerChains = toHandlerChains(in); 
-        assertEquals(3, handlerChains.getHandlerChain().size());
+        assertEquals(3, handlerChains.getHandlerChainArray().length);
         
         Axis2HandlerResolver resolver = 
             new Axis2HandlerResolver(getClass().getClassLoader(), getClass(), handlerChains,
null);



Mime
View raw message