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:23:14 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 8f65ac679 -> cf5613bd0


[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/cf5613bd
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/cf5613bd
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/cf5613bd

Branch: refs/heads/3.0.x-fixes
Commit: cf5613bd0a959c707d3746e38052da743e10b44a
Parents: 8f65ac6
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:23:01 2015 +0000

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/cf5613bd/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