summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/itest/http-jsonrpc
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-05-05 23:08:33 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-05-05 23:08:33 +0000
commitfce18f1b3126babe89ccca7eb160eebd4f23396f (patch)
treec4a2e01ad47436684b7b497fb839dc19d8923005 /branches/sca-java-1.x/itest/http-jsonrpc
parent08c90a78989469f04feaa242e33f719ddc3cd25a (diff)
USCANY-2968 - Enabling more tests that are currently passing
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@772004 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/itest/http-jsonrpc')
-rw-r--r--branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCDataTypeTestCase.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCDataTypeTestCase.java b/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCDataTypeTestCase.java
index 0241e073c6..867bfceac6 100644
--- a/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCDataTypeTestCase.java
+++ b/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCDataTypeTestCase.java
@@ -90,8 +90,8 @@ public class JSONRPCDataTypeTestCase {
Assert.assertEquals(true, jsonResp.getBoolean("result"));
}
- //@Test
- @Ignore("Work in progress")
+ @Test
+ //@Ignore("Work in progress")
public void testMap() throws Exception {
JSONObject jsonRequest = new JSONObject(
"{ \"method\": \"echoMap\", \"params\": [ {\"javaClass\": \"java.util.HashMap\", \"map\": { \"Binding\": \"JSON-RPC\"}}], \"id\": 6}");
@@ -108,8 +108,8 @@ public class JSONRPCDataTypeTestCase {
Assert.assertEquals("JSON-RPC", jsonResp.getJSONObject("result").getJSONObject("map").getString("Binding"));
}
- //@Test
- @Ignore("Work in progress")
+ @Test
+ //@Ignore("Work in progress")
public void testBean() throws Exception {
JSONObject jsonRequest = new JSONObject(
"{ \"method\": \"echoBean\", \"params\": [ {\"javaClass\": \"bean.TestBean\", \"testString\": \"JSON-RPC\", \"testInt\":1234}], \"id\": 7}");
@@ -126,8 +126,8 @@ public class JSONRPCDataTypeTestCase {
Assert.assertEquals("JSON-RPC", jsonResp.getJSONObject("result").getString("testString"));
}
- //@Test
- @Ignore("Work in progress")
+ @Test
+ //@Ignore("Work in progress")
public void testList() throws Exception {
JSONObject jsonRequest = new JSONObject(
"{ \"method\": \"echoList\", \"params\": [ {\"javaClass\": \"java.util.ArrayList\", \"list\": [0,1,2,3,4]}], \"id\": 8}");
@@ -144,8 +144,8 @@ public class JSONRPCDataTypeTestCase {
Assert.assertEquals(0, jsonResp.getJSONObject("result").getJSONArray("list").get(0));
}
- //@Test
- @Ignore("Work in progress")
+ @Test
+ //@Ignore("Work in progress")
public void testArrayString() throws Exception {
JSONObject jsonRequest = new JSONObject(
"{\"params\":[[\"1\",\"2\"]],\"method\":\"echoArrayString\",\"id\":9}");
@@ -163,8 +163,8 @@ public class JSONRPCDataTypeTestCase {
}
- //@Test
- @Ignore("Work in progress")
+ @Test
+ //@Ignore("Work in progress")
public void testArrayInt() throws Exception {
JSONObject jsonRequest = new JSONObject(
"{\"params\":[[1,2]],\"method\":\"echoArrayInt\",\"id\":10}");
@@ -182,8 +182,8 @@ public class JSONRPCDataTypeTestCase {
}
- //@Test
- @Ignore("Work in progress")
+ @Test
+ //@Ignore("Work in progress")
public void testSet() throws Exception {
JSONObject jsonRequest = new JSONObject(
"{ \"method\": \"echoSet\", \"params\": [ {\"javaClass\": \"java.util.HashSet\", \"set\": {\"1\": \"red\", \"2\": \"blue\"}}],\"id\": 11}");