cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r907066 - /cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSUriInfoTest.java
Date Fri, 05 Feb 2010 19:42:47 GMT
Author: dkulp
Date: Fri Feb  5 19:42:47 2010
New Revision: 907066

URL: http://svn.apache.org/viewvc?rev=907066&view=rev
Log:
Fix test.

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

Modified: cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSUriInfoTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSUriInfoTest.java?rev=907066&r1=907065&r2=907066&view=diff
==============================================================================
--- cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSUriInfoTest.java
(original)
+++ cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSUriInfoTest.java
Fri Feb  5 19:42:47 2010
@@ -62,15 +62,15 @@
     public void testBasePathAndPathAndPathParam() throws Exception {
         checkUriInfo("http://localhost:9080/app/v1", "\"\"", "/");
         checkUriInfo("http://localhost:9080/app/v1/", "\"\"", "/");
-        checkUriInfo("http://localhost:9080/app/v1/test", "\"test\"", "/test");
+        checkUriInfo("http://localhost:9080/app/v1/test", "\"test\"", "test");
         checkUriInfo("http://localhost:9080/app/v1/", "\"\"", "/");
         checkUriInfo("http://localhost:9080/app/v1", "\"\"", "/");
           
-        checkUriInfo("http://localhost:9080/app/v1/bar", "\"bar\"", "/bar");
-        checkUriInfo("http://localhost:9080/app/v1/bar", "\"bar\"", "/bar");
-        checkUriInfo("http://localhost:9080/app/v1/bar/test", "\"bar/test\"", "/bar/test");
-        checkUriInfo("http://localhost:9080/app/v1/bar", "\"bar\"", "/bar");
-        checkUriInfo("http://localhost:9080/app/v1/bar", "\"bar\"", "/bar");
+        checkUriInfo("http://localhost:9080/app/v1/bar", "\"bar\"", "bar");
+        checkUriInfo("http://localhost:9080/app/v1/bar", "\"bar\"", "bar");
+        checkUriInfo("http://localhost:9080/app/v1/bar/test", "\"bar/test\"", "bar/test");
+        checkUriInfo("http://localhost:9080/app/v1/bar", "\"bar\"", "bar");
+        checkUriInfo("http://localhost:9080/app/v1/bar", "\"bar\"", "bar");
     }
     
     private void checkUriInfo(String address, String path, String pathParam) {



Mime
View raw message