cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r992464 - /cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/LocatorClientServerTest.java
Date Fri, 03 Sep 2010 20:50:42 GMT
Author: sergeyb
Date: Fri Sep  3 20:50:41 2010
New Revision: 992464

URL: http://svn.apache.org/viewvc?rev=992464&view=rev
Log:
Trying to fix Locator test, temporarily adding printlns

Modified:
    cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/LocatorClientServerTest.java

Modified: cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/LocatorClientServerTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/LocatorClientServerTest.java?rev=992464&r1=992463&r2=992464&view=diff
==============================================================================
--- cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/LocatorClientServerTest.java
(original)
+++ cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/LocatorClientServerTest.java
Fri Sep  3 20:50:41 2010
@@ -68,7 +68,7 @@ public class LocatorClientServerTest ext
 
     @BeforeClass
     public static void startServers() throws Exception {
-        assertTrue("server did not launch correctly", launchServer(MyServer.class));
+        assertTrue("server did not launch correctly", launchServer(MyServer.class, true));
     }
 
     @Test
@@ -115,7 +115,9 @@ public class LocatorClientServerTest ext
         
         W3CEndpointReference epr = port.lookupEndpoint(new QName("http://service/1", "Number"));
         String eprString = epr.toString();
-        assertTrue(eprString.contains("Metadata wsdli:wsdlLocation=\"http://service/1 wsdlLoc\""));
+        System.out.println(eprString);
+        assertTrue(eprString.contains("Metadata"));
+        assertTrue(eprString.contains("wsdli:wsdlLocation=\"http://service/1 wsdlLoc\""));
     }
     
     @Test
@@ -129,7 +131,9 @@ public class LocatorClientServerTest ext
         
         W3CEndpointReference epr = port.lookupEndpoint(new QName("http://service/2", "Number"));
         String eprString = epr.toString();
-        assertTrue(eprString.contains("Metadata wsdli:wsdlLocation=\"wsdlLoc\""));
+        System.out.println(eprString);
+        assertTrue(eprString.contains("Metadata"));
+        assertTrue(eprString.contains("wsdli:wsdlLocation=\"wsdlLoc\""));
     }
 
     @Test



Mime
View raw message