[jbossws-commits] JBossWS SVN: r2974 - branches/jbossws-1.2.0.SP1-JBWS-1643/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/jbws1190.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Sun May 6 02:43:03 EDT 2007
Author: mageshbk at jboss.com
Date: 2007-05-06 02:43:01 -0400 (Sun, 06 May 2007)
New Revision: 2974
Modified:
branches/jbossws-1.2.0.SP1-JBWS-1643/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/jbws1190/TestEndpointImpl.java
Log:
Actually there are 2 wsdls but this test case was testing for 1, so fixed it!
Modified: branches/jbossws-1.2.0.SP1-JBWS-1643/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/jbws1190/TestEndpointImpl.java
===================================================================
--- branches/jbossws-1.2.0.SP1-JBWS-1643/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/jbws1190/TestEndpointImpl.java 2007-05-05 21:30:39 UTC (rev 2973)
+++ branches/jbossws-1.2.0.SP1-JBWS-1643/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/jbws1190/TestEndpointImpl.java 2007-05-06 06:43:01 UTC (rev 2974)
@@ -35,6 +35,7 @@
/**
*
* @author darran.lofthouse at jboss.com
+ * @author mageshbk at jboss.com
* @since 19-October-2006
*/
public class TestEndpointImpl implements TestEndpoint
@@ -60,7 +61,7 @@
}
});
- assertEquals("WSDL files found", 1, wsdls.length);
+ assertEquals("WSDL files found", 2, wsdls.length);
WSDLDefinitionsFactory factory = WSDLDefinitionsFactory.newInstance();
WSDLDefinitions wsdl;
@@ -74,10 +75,10 @@
}
WSDLService[] services = wsdl.getServices();
- assertEquals("No of services", 1, services.length);
+ assertEquals("No of services", 2, services.length);
WSDLEndpoint[] endpoints = services[0].getEndpoints();
- assertEquals("No of endpoints", 1, endpoints.length);
+ assertEquals("No of endpoints", 2, endpoints.length);
String address = endpoints[0].getAddress();
assertTrue("Expected Scheme '" + scheme + "'", address.startsWith(scheme + "://"));
More information about the jbossws-commits
mailing list