From abba575231a2312e8d65d3de70d719b7319f8efd Mon Sep 17 00:00:00 2001 From: lresende Date: Tue, 5 May 2009 23:11:43 +0000 Subject: USCANY-2968 - Enabling more tests that are currently passing git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@772007 13f79535-47bb-0310-9956-ffa450edef68 --- .../http/wireformat/jsonrpc/JSONRPCExceptionTestCase.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'branches') diff --git a/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCExceptionTestCase.java b/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCExceptionTestCase.java index 94cf75d00b..eb47e4a2e9 100644 --- a/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCExceptionTestCase.java +++ b/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCExceptionTestCase.java @@ -45,18 +45,18 @@ public class JSONRPCExceptionTestCase{ private static SCADomain domain; - //@BeforeClass + @BeforeClass public static void setUp() throws Exception { domain = SCADomain.newInstance("org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCBinding.composite"); } - //@AfterClass + @AfterClass public static void tearDown() throws Exception { domain.close(); } - //@Test - @Ignore("Work in progress") + @Test + //@Ignore("Work in progress") public void testRuntimeException() throws Exception{ JSONObject jsonRequest = new JSONObject("{ \"method\": \"echoRuntimeException\", \"params\": [], \"id\": 2}"); @@ -71,8 +71,8 @@ public class JSONRPCExceptionTestCase{ Assert.assertEquals("Runtime Exception", jsonErr.getString("msg")); } - //@Test - @Ignore("Work in progress") + @Test + //@Ignore("Work in progress") public void testBusinessException() throws Exception{ JSONObject jsonRequest = new JSONObject("{ \"method\": \"echoBusinessException\", \"params\": [], \"id\": 3}"); -- cgit v1.2.3