You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2012/11/01 15:05:10 UTC

svn commit: r1404600 - /cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/client/WebClientTest.java

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());
         
     }