From 6c51c6d6f32b9972ed825f1444309212f9d99a21 Mon Sep 17 00:00:00 2001 From: rfeng Date: Tue, 9 Feb 2010 21:20:45 +0000 Subject: Start to clean up the node-api (remove Node.destroy()) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@908233 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tuscany/sca/binding/jsonrpc/JSONRPCDataTypeTestCase.java | 1 - .../apache/tuscany/sca/binding/jsonrpc/JSONRPCExceptionTestCase.java | 1 - .../apache/tuscany/sca/binding/jsonrpc/JSONRPCReferenceTestCase.java | 2 -- .../org/apache/tuscany/sca/binding/jsonrpc/JSONRPCServiceTestCase.java | 1 - .../java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCSmdTestCase.java | 1 - 5 files changed, 6 deletions(-) (limited to 'sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java') diff --git a/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCDataTypeTestCase.java b/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCDataTypeTestCase.java index 96dea057e8..b84df66f40 100644 --- a/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCDataTypeTestCase.java +++ b/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCDataTypeTestCase.java @@ -60,7 +60,6 @@ public class JSONRPCDataTypeTestCase { @AfterClass public static void tearDown() throws Exception { node.stop(); - node.destroy(); } @Test diff --git a/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCExceptionTestCase.java b/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCExceptionTestCase.java index 635c99a462..56080058c8 100644 --- a/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCExceptionTestCase.java +++ b/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCExceptionTestCase.java @@ -61,7 +61,6 @@ public class JSONRPCExceptionTestCase{ @AfterClass public static void tearDown() throws Exception { node.stop(); - node.destroy(); } @Test diff --git a/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCReferenceTestCase.java b/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCReferenceTestCase.java index 0fb748b0d9..efdb0a23db 100644 --- a/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCReferenceTestCase.java +++ b/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCReferenceTestCase.java @@ -50,7 +50,6 @@ public class JSONRPCReferenceTestCase { @AfterClass public static void tearDown() throws Exception { nodeServer.stop(); - nodeServer.destroy(); } @Test @@ -66,7 +65,6 @@ public class JSONRPCReferenceTestCase { Assert.assertEquals("echo: ABC", result); if (node != null) { node.stop(); - node.destroy(); } } } diff --git a/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCServiceTestCase.java b/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCServiceTestCase.java index 502b2c2862..946cd60745 100644 --- a/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCServiceTestCase.java +++ b/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCServiceTestCase.java @@ -61,7 +61,6 @@ public class JSONRPCServiceTestCase{ @AfterClass public static void tearDown() throws Exception { node.stop(); - node.destroy(); } @Test diff --git a/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCSmdTestCase.java b/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCSmdTestCase.java index 6a13a7d951..a1b076c0e8 100644 --- a/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCSmdTestCase.java +++ b/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCSmdTestCase.java @@ -61,7 +61,6 @@ public class JSONRPCSmdTestCase { @AfterClass public static void tearDown() throws Exception { node.stop(); - node.destroy(); } @Test -- cgit v1.2.3