diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-04 07:06:24 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-04 07:06:24 +0000 |
commit | 3b5d3b84eebcf28da41048372d47fe19a9d51643 (patch) | |
tree | a00af4461a6933f6b298d31c80b52bc917a1061f /branches/sca-java-1.x/itest/http-jsonrpc | |
parent | 69342b0efcd4e7631e20cab07f624b4907aad6d8 (diff) |
TUSCANY-2968 - Minor update to make serice providers follow the same implementation pattern
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@771212 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/JSONRPCServiceTestCase.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCServiceTestCase.java b/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCServiceTestCase.java index e9e5b43944..a94fc91735 100644 --- a/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCServiceTestCase.java +++ b/branches/sca-java-1.x/itest/http-jsonrpc/src/test/java/org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCServiceTestCase.java @@ -24,6 +24,8 @@ import junit.framework.Assert; import org.apache.tuscany.sca.host.embedded.SCADomain; import org.json.JSONObject; +import org.junit.AfterClass; +import org.junit.BeforeClass; import org.junit.Ignore; import org.junit.Test; @@ -41,15 +43,15 @@ public class JSONRPCServiceTestCase { private static final String SERVICE_URL = "http://localhost:8085/" + SERVICE_PATH; - private SCADomain domain; + private static SCADomain domain; //@BeforeClass - public void setUp() throws Exception { + public static void setUp() throws Exception { domain = SCADomain.newInstance("org/apache/tuscany/sca/binding/http/wireformat/jsonrpc/JSONRPCBinding.composite"); } //@AfterClass - public void tearDown() throws Exception { + public static void tearDown() throws Exception { domain.close(); } |