cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject [1/2] cxf git commit: [CXF-7448] Updating the test a bit
Date Tue, 29 Aug 2017 16:41:18 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 12df8ab26 -> 472c37bca


[CXF-7448] Updating the test a bit


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

Branch: refs/heads/master
Commit: 923ffe7c5c321ba8386aa9030b7fea24a24cfe61
Parents: ca1fa2f
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Tue Aug 29 17:40:25 2017 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Tue Aug 29 17:40:25 2017 +0100

----------------------------------------------------------------------
 .../org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/923ffe7c/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
----------------------------------------------------------------------
diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
index 577f0e2..67a9cab 100644
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
@@ -111,8 +111,8 @@ public class JAXRSClientServerBookTest extends AbstractBusClientServerTestBase
{
         String address = "http://localhost:" + PORT + "/bookstore/retrieve";
         WebClient wc = WebClient.create(address);
         wc.type("application/xml").accept("application/xml");
-        if (useReflection) {
-            WebClient.getConfig(wc).getRequestContext().put("use.httpurlconnection.method.reflection",
true);
+        if (!useReflection) {
+            WebClient.getConfig(wc).getRequestContext().put("use.httpurlconnection.method.reflection",
false);
         }
         // CXF RS Client code will set this property to true if the http verb is unknown
         // and this property is not already set. The async conduit is loaded in the tests
module


Mime
View raw message