Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2012-03-18 22:31:22 +0000
committerslewis2012-03-18 22:31:22 +0000
commit80b3c4c92c6540dafd2916776d6364886c35e51e (patch)
tree45f457a5dd7248ec1fc7f57c33bc1d34e6f86f78 /tests/bundles/org.eclipse.ecf.tests.remoteservice.rest
parent50f00f33bd06624150c85d5f672ded1aabca161f (diff)
downloadorg.eclipse.ecf-80b3c4c92c6540dafd2916776d6364886c35e51e.tar.gz
org.eclipse.ecf-80b3c4c92c6540dafd2916776d6364886c35e51e.tar.xz
org.eclipse.ecf-80b3c4c92c6540dafd2916776d6364886c35e51e.zip
Fix for test case warning
Diffstat (limited to 'tests/bundles/org.eclipse.ecf.tests.remoteservice.rest')
-rw-r--r--tests/bundles/org.eclipse.ecf.tests.remoteservice.rest/src/org/eclipse/ecf/tests/remoteservice/rest/RestPutServiceTest.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.remoteservice.rest/src/org/eclipse/ecf/tests/remoteservice/rest/RestPutServiceTest.java b/tests/bundles/org.eclipse.ecf.tests.remoteservice.rest/src/org/eclipse/ecf/tests/remoteservice/rest/RestPutServiceTest.java
index ee4650a99..f4a4bb51e 100644
--- a/tests/bundles/org.eclipse.ecf.tests.remoteservice.rest/src/org/eclipse/ecf/tests/remoteservice/rest/RestPutServiceTest.java
+++ b/tests/bundles/org.eclipse.ecf.tests.remoteservice.rest/src/org/eclipse/ecf/tests/remoteservice/rest/RestPutServiceTest.java
@@ -57,17 +57,17 @@ public class RestPutServiceTest extends AbstractRestTestCase {
}
- /*
+
public void testPutCallSync() throws Exception {
- IRemoteService restClientService = getRemoteServiceClientContainerAdapter(container).getRemoteService(registration.getReference());
- System.out.println("put uri="+uri+resourcePath);
- String body = createBody();
- System.out.println("body="+body);
- System.out.print("making remote method call="+method+"...");
- Object result = restClientService.callSync(RestCallFactory.createRestCall(method, new String[] { body }));
- System.out.println("received result="+result);
+// IRemoteService restClientService = getRemoteServiceClientContainerAdapter(container).getRemoteService(registration.getReference());
+// System.out.println("put uri="+uri+resourcePath);
+// String body = createBody();
+// System.out.println("body="+body);
+// System.out.print("making remote method call="+method+"...");
+// Object result = restClientService.callSync(RestCallFactory.createRestCall(method, new String[] { body }));
+// System.out.println("received result="+result);
}
- */
+
private String createBody() {
return "firstname=Scott\nsurname=Example\nemail=slewis@example.org\ncompany_uid=1";

Back to the top