cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1546347 - /cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerProxySpringBookTest.java
Date Thu, 28 Nov 2013 11:08:20 GMT
Author: sergeyb
Date: Thu Nov 28 11:08:20 2013
New Revision: 1546347

URL: http://svn.apache.org/r1546347
Log:
Removing the test code printing the data to the out stream

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

Modified: cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerProxySpringBookTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerProxySpringBookTest.java?rev=1546347&r1=1546346&r2=1546347&view=diff
==============================================================================
--- cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerProxySpringBookTest.java
(original)
+++ cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerProxySpringBookTest.java
Thu Nov 28 11:08:20 2013
@@ -54,10 +54,9 @@ public class JAXRSClientServerProxySprin
     
     @Test
     public void testGetWadlResourcesInfo() throws Exception {
-        WebClient client = WebClient.create("http://localhost:" + PORT + "/test/" + "?_wadl&_type=xml");
+        WebClient client = WebClient.create("http://localhost:" + PORT + "/test" + "?_wadl&_type=xml");
         WebClient.getConfig(client).getHttpConduit().getClient().setReceiveTimeout(10000000);
         Document doc = StaxUtils.read(new InputStreamReader(client.get(InputStream.class),
"UTF-8"));
-        StaxUtils.writeTo(doc.getDocumentElement(), System.out);
         Element root = doc.getDocumentElement();
         assertEquals(WadlGenerator.WADL_NS, root.getNamespaceURI());
         assertEquals("application", root.getLocalName());



Mime
View raw message