cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [12/12] git commit: Fix test after merge
Date Tue, 13 May 2014 20:02:22 GMT
Fix test after merge


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/78bb7e5f
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/78bb7e5f
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/78bb7e5f

Branch: refs/heads/2.7.x-fixes
Commit: 78bb7e5f4a79a8f06a24ddb3e00eb994d291158e
Parents: 2772bb7
Author: Daniel Kulp <dkulp@apache.org>
Authored: Tue May 13 15:57:04 2014 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Tue May 13 15:57:04 2014 -0400

----------------------------------------------------------------------
 .../wsdlto/jaxws/wsdl11/JAXWSDefinitionBuilderTest.java      | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/78bb7e5f/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/JAXWSDefinitionBuilderTest.java
----------------------------------------------------------------------
diff --git a/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/JAXWSDefinitionBuilderTest.java
b/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/JAXWSDefinitionBuilderTest.java
index 7c14208..1b08dcb 100644
--- a/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/JAXWSDefinitionBuilderTest.java
+++ b/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/wsdl11/JAXWSDefinitionBuilderTest.java
@@ -33,7 +33,7 @@ import org.apache.cxf.BusFactory;
 import org.apache.cxf.bindings.xformat.XMLBindingMessageFormat;
 import org.apache.cxf.tools.common.ToolContext;
 import org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuilder;
-import org.apache.cxf.transport.jms.AddressType;
+import org.apache.cxf.wsdl.http.AddressType;
 import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;
@@ -71,8 +71,8 @@ public class JAXWSDefinitionBuilderTest extends Assert {
         assertNotNull(port);
 
         assertEquals(1, port.getExtensibilityElements().size());
-        assertTrue(port.getExtensibilityElements().get(0).getClass().getName() + " is not
an HTTPAddress",
-                   port.getExtensibilityElements().get(0) instanceof HTTPAddress);
+        assertTrue(port.getExtensibilityElements().get(0).getClass().getName() + " is not
an AddressType",
+                   port.getExtensibilityElements().get(0) instanceof AddressType);
 
         Binding binding = port.getBinding();
         assertNotNull(binding);
@@ -111,6 +111,6 @@ public class JAXWSDefinitionBuilderTest extends Assert {
         assertNotNull(port);
 
         assertEquals(3, port.getExtensibilityElements().size());
-        assertTrue(port.getExtensibilityElements().get(0) instanceof AddressType);
+        assertTrue(port.getExtensibilityElements().get(0) instanceof org.apache.cxf.transport.jms.AddressType);
     }
 }


Mime
View raw message