cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1200920 - /cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSSoapBookTest.java
Date Fri, 11 Nov 2011 15:43:08 GMT
Author: sergeyb
Date: Fri Nov 11 15:43:08 2011
New Revision: 1200920

URL: http://svn.apache.org/viewvc?rev=1200920&view=rev
Log:
[CXF-3902] Fixing a system test

Modified:
    cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSSoapBookTest.java

Modified: cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSSoapBookTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSSoapBookTest.java?rev=1200920&r1=1200919&r2=1200920&view=diff
==============================================================================
--- cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSSoapBookTest.java
(original)
+++ cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSSoapBookTest.java
Fri Nov 11 15:43:08 2011
@@ -739,18 +739,17 @@ public class JAXRSSoapBookTest extends A
         assertTrue(listings.contains("http://localhost:" + PORT + "/test/services/soap/bookservice?wsdl"));
         assertFalse(listings.contains("http://localhost:" + PORT + "/test/services/soap/bookservice2?wsdl"));
         
-        assertTrue(listings.contains("http://localhost:" + PORT + "/test/services/rest?_wadl&type=xml"));
+        assertTrue(listings.contains("http://localhost:" + PORT + "/test/services/rest?_wadl"));
         assertEquals(200, WebClient.create(
             "http://localhost:" + PORT + "/test/services/rest?_wadl&type=xml").get().getStatus());
-        assertTrue(listings.contains("http://localhost:" + PORT + "/test/services/rest2?_wadl&type=xml"));
+        assertTrue(listings.contains("http://localhost:" + PORT + "/test/services/rest2?_wadl"));
         assertEquals(200, WebClient.create(
             "http://localhost:" + PORT + "/test/services/rest2?_wadl&type=xml").get().getStatus());
-        assertFalse(listings.contains("http://localhost:" + PORT + "/test/services/rest3?_wadl&type=xml"));
+        assertFalse(listings.contains("http://localhost:" + PORT + "/test/services/rest3?_wadl"));
         assertFalse(listings.contains("Atom Log Feed"));
     
         WebClient webClient = 
-            WebClient.create("http://localhost:" + PORT + "/test/services/rest3?_wadl&type=xml");
-        WebClient.getConfig(webClient).getHttpConduit().getClient().setReceiveTimeout(1000000);
+            WebClient.create("http://localhost:" + PORT + "/test/services/rest3?_wadl");
         assertEquals(404, webClient.get().getStatus());
     }
     



Mime
View raw message