Author: jjankovi
Date: 2012-04-30 10:26:42 -0400 (Mon, 30 Apr 2012)
New Revision: 40644
Added:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/restful/QueryOneParam.java.ws
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/restful/QueryTwoParam.java.ws
Log:
resource files for QueryParamSupportTest added
Added:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/restful/QueryOneParam.java.ws
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/restful/QueryOneParam.java.ws
(rev 0)
+++
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/restful/QueryOneParam.java.ws 2012-04-30
14:26:42 UTC (rev 40644)
@@ -0,0 +1,15 @@
+package {0};
+
+import javax.ws.rs.GET;
+import javax.ws.rs.Path;
+import javax.ws.rs.QueryParam;
+
+@Path("/rest")
+public class {1} '{'
+
+ @GET
+ public void method(@QueryParam("{2}") {3} parameter) '{'
+
+ '}'
+
+'}'
Added:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/restful/QueryTwoParam.java.ws
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/restful/QueryTwoParam.java.ws
(rev 0)
+++
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/restful/QueryTwoParam.java.ws 2012-04-30
14:26:42 UTC (rev 40644)
@@ -0,0 +1,16 @@
+package {0};
+
+import javax.ws.rs.GET;
+import javax.ws.rs.Path;
+import javax.ws.rs.QueryParam;
+
+@Path("/rest")
+public class {1} '{'
+
+ @GET
+ public void method(@QueryParam("{2}") {3} parameter1,
+ @QueryParam("{4}") {5} parameter2) '{'
+
+ '}'
+
+'}'