diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-01-20 23:42:12 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-01-20 23:42:12 +0000 |
commit | 00963d0eba44bbdbcc7a36a1b4d97ee1befd1d57 (patch) | |
tree | 80d85e14f50e8e8707e1a73974dadd1903414dd0 /sca-java-2.x/trunk/testing/itest/nodes/one-jvm-hazelcast-client/src | |
parent | 5f133f5fbe22e2794aa726ed610325ab3e021213 (diff) |
Partially fix TUSCANY-3675 to get some distributed domain functions working again
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1061571 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/testing/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java b/sca-java-2.x/trunk/testing/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java index cf99c970db..a00c84edb6 100644 --- a/sca-java-2.x/trunk/testing/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java +++ b/sca-java-2.x/trunk/testing/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java @@ -24,11 +24,9 @@ import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
-import java.net.URI;
-
+import org.apache.tuscany.sca.Node;
+import org.apache.tuscany.sca.TuscanyRuntime;
import org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointImpl;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
@@ -46,8 +44,9 @@ public class ClientTestCase{ @BeforeClass
public static void setUpBeforeClass() throws Exception {
- node = NodeFactory.newInstance(domainURI).createNode((String)null, new String[]{"../helloworld-service/target/classes", "../helloworld-client/target/classes"});
- node.start();
+ node = TuscanyRuntime.newInstance().createNode(domainURI);
+ node.installContribution("../helloworld-service/target/classes");
+ node.installContribution("../helloworld-client/target/classes");
}
@Test
|