You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2009/05/06 01:11:43 UTC

svn commit: r772007 - /tuscany/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCExceptionTestCase.java

Author: lresende
Date: Tue May  5 23:11:43 2009
New Revision: 772007

URL: http://svn.apache.org/viewvc?rev=772007&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/JSONRPCExceptionTestCase.java

Modified: tuscany/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCExceptionTestCase.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/JSONRPCExceptionTestCase.java?rev=772007&r1=772006&r2=772007&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCExceptionTestCase.java (original)
+++ tuscany/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCExceptionTestCase.java Tue May  5 23:11:43 2009
@@ -45,18 +45,18 @@
 
     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 @@
         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}");