cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6200] Minimizing a test class for now
Date Mon, 26 Jan 2015 17:15:39 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 7ff554ff3 -> 58abd8cde


[CXF-6200] Minimizing a test class for now


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

Branch: refs/heads/master
Commit: 58abd8cde5ae46e5ac04d78953509e691836317f
Parents: 7ff554f
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Mon Jan 26 17:15:26 2015 +0000
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Mon Jan 26 17:15:26 2015 +0000

----------------------------------------------------------------------
 .../JAXRSClientServerUserResourceDefaultTest.java   | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/58abd8cd/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerUserResourceDefaultTest.java
----------------------------------------------------------------------
diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerUserResourceDefaultTest.java
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerUserResourceDefaultTest.java
index 4678c29..c068886 100644
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerUserResourceDefaultTest.java
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerUserResourceDefaultTest.java
@@ -70,26 +70,12 @@ public class JAXRSClientServerUserResourceDefaultTest extends AbstractBusClientS
             op.setVerb("GET");
             op.setParameters(Collections.singletonList(new Parameter(ParameterType.PATH,
"id")));
             
-            UserOperation op2 = new UserOperation();
-            op2.setPath("/books/{id}/chapter");
-            op2.setName("getBookChapter");
-            op2.setParameters(Collections.singletonList(new Parameter(ParameterType.PATH,
"id")));
-            
             List<UserOperation> ops = new ArrayList<UserOperation>();
             ops.add(op);
-            ops.add(op2);
             
             ur.setOperations(ops);
             
-            UserResource ur2 = new UserResource();
-            ur2.setName(ChapterNoAnnotations.class.getName());
-            UserOperation op3 = new UserOperation();
-            op3.setPath("/");
-            op3.setName("getItself");
-            op3.setVerb("GET");
-            ur2.setOperations(Collections.singletonList(op3));
-            
-            sf.setModelBeans(ur, ur2);
+            sf.setModelBeans(ur);
             
             server = sf.create();
         }


Mime
View raw message