cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1404600 - /cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/client/WebClientTest.java
Date Thu, 01 Nov 2012 14:05:10 GMT
Author: sergeyb
Date: Thu Nov  1 14:05:10 2012
New Revision: 1404600

URL: http://svn.apache.org/viewvc?rev=1404600&view=rev
Log:
Support for ParamConverterProvider at the client side: update to the test

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/client/WebClientTest.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/client/WebClientTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/client/WebClientTest.java?rev=1404600&r1=1404599&r2=1404600&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/client/WebClientTest.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/client/WebClientTest.java
Thu Nov  1 14:05:10 2012
@@ -254,12 +254,12 @@ public class WebClientTest extends Asser
     }
     
     @Test
-    public void testWebClientPathParamConverter() {
+    public void testWebClientParamConverter() {
         WebClient wc = WebClient.create("http://foo",
                                         Collections.singletonList(new ParamConverterProviderImpl()));
         wc.path(new ComplexObject());
-        wc.query("param", new ComplexObject());
-        assertEquals("http://foo/complex?param=complex", wc.getCurrentURI().toString());
+        wc.query("param", new ComplexObject(), new ComplexObject());
+        assertEquals("http://foo/complex?param=complex&param=complex", wc.getCurrentURI().toString());
         
     }
     



Mime
View raw message