cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject cxf git commit: Change test to demostrate the real issue
Date Mon, 11 Apr 2016 06:28:58 GMT
Repository: cxf
Updated Branches:
  refs/heads/master fd32df1be -> 9505a3c7c


Change test to demostrate the real issue


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/9505a3c7
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/9505a3c7
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/9505a3c7

Branch: refs/heads/master
Commit: 9505a3c7c82691da2bad94459702a665b14420fa
Parents: fd32df1
Author: Jim Ma <ema@apache.org>
Authored: Wed Mar 30 23:22:20 2016 +0800
Committer: Jim Ma <ema@apache.org>
Committed: Mon Apr 11 11:55:57 2016 +0800

----------------------------------------------------------------------
 .../java/org/apache/cxf/systest/jaxrs/BookApplication2.java     | 2 +-
 .../cxf/systest/jaxrs/JAXRSClientServerNonSpringBookTest.java   | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/9505a3c7/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookApplication2.java
----------------------------------------------------------------------
diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookApplication2.java
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookApplication2.java
index b424f7d..c77e636 100644
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookApplication2.java
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookApplication2.java
@@ -22,7 +22,7 @@ import javax.servlet.ServletContext;
 import javax.ws.rs.ApplicationPath;
 import javax.ws.rs.core.Context;
 
-@ApplicationPath("/the%20books2")
+@ApplicationPath("/thebooks2%21")
 public class BookApplication2 extends BookApplication {
     public BookApplication2(@Context ServletContext sc) {
         super(sc);

http://git-wip-us.apache.org/repos/asf/cxf/blob/9505a3c7/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerNonSpringBookTest.java
----------------------------------------------------------------------
diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerNonSpringBookTest.java
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerNonSpringBookTest.java
index 75e966e..9bb5760 100644
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerNonSpringBookTest.java
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerNonSpringBookTest.java
@@ -39,6 +39,7 @@ import org.apache.cxf.jaxrs.model.AbstractResourceInfo;
 import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
 
 import org.junit.BeforeClass;
+import org.junit.Ignore;
 import org.junit.Test;
 
 public class JAXRSClientServerNonSpringBookTest extends AbstractBusClientServerTestBase {
@@ -180,10 +181,10 @@ public class JAXRSClientServerNonSpringBookTest extends AbstractBusClientServerT
         assertEquals("TheBook", r.getHeaderString("BookWriter"));
     }
     
-    @Test
+    @Ignore
     public void testGetBook123TwoApplications() throws Exception {
         doTestPerRequest("http://localhost:" + PORT + "/application6/thebooks/bookstore2/bookheaders");
-        doTestPerRequest("http://localhost:" + PORT + "/application6/the%20books2/bookstore2/book%20headers");
+        doTestPerRequest("http://localhost:" + PORT + "/application6/thebooks2!/bookstore2/book%20headers");
     }
     
     private Response doTestPerRequest(String address) throws Exception {


Mime
View raw message