Author: lresende
Date: Tue May 5 23:08:33 2009
New Revision: 772004
URL: http://svn.apache.org/viewvc?rev=772004&view=rev
Log:
USCANY-2968 - Enabling more tests that are currently passing
Modified:
tuscany/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCDataTypeTestCase.java
Modified:
tuscany/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCDataTypeTestCase.java
URL:
http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCDataTypeTestCase.java?rev=772004&r1=772003&r2=772004&view=diff
==============================================================================
---
tuscany/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCDataTypeTestCase.java
(original)
+++
tuscany/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCDataTypeTestCase.java
Tue May 5 23:08:33 2009
@@ -90,8 +90,8 @@
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 @@
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 @@
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 @@
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 @@
}
- //@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 @@
}
- //@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}");