cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1513165 - /cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/CatalogTest.java
Date Mon, 12 Aug 2013 15:27:30 GMT
Author: dkulp
Date: Mon Aug 12 15:27:30 2013
New Revision: 1513165

URL: http://svn.apache.org/r1513165
Log:
Fix failing test

Modified:
    cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/CatalogTest.java

Modified: cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/CatalogTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/CatalogTest.java?rev=1513165&r1=1513164&r2=1513165&view=diff
==============================================================================
--- cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/CatalogTest.java
(original)
+++ cxf/trunk/tools/wsdlto/frontend/jaxws/src/test/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/CatalogTest.java
Mon Aug 12 15:27:30 2013
@@ -44,7 +44,7 @@ public class CatalogTest extends Assert 
 
         ExtendedURIResolver resolver = new ExtendedURIResolver();
         InputSource in = resolver.resolve(resolvedSchemaLocation, null);
-        assertTrue(in.getSystemId().indexOf("api") != -1);
-        assertTrue(in.getSystemId().indexOf("/schemas/wsdl/ws-addr.xsd") != -1);
+        assertTrue(in.getSystemId(), in.getSystemId().indexOf("core") != -1);
+        assertTrue(in.getSystemId(), in.getSystemId().indexOf("/schemas/wsdl/ws-addr.xsd")
!= -1);
     }
 }
\ No newline at end of file



Mime
View raw message