summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-18 20:45:31 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-18 20:45:31 +0000
commit133a1dc10e40abfe9acb2d61ed1845de46cd37b3 (patch)
treedde3171386c3819ea8e65af16e3605d63b665c83 /sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast
parentd81596bbed756cc4f85909515652b30155b29a4d (diff)
Update to use hazelcast binding
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@924987 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast')
-rw-r--r--sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast/pom.xml2
-rw-r--r--sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast/src/test/java/itest/TwoRemoteNodesTestCase.java7
2 files changed, 4 insertions, 5 deletions
diff --git a/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast/pom.xml b/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast/pom.xml
index 07e36396fe..806d243da5 100644
--- a/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast/pom.xml
+++ b/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast/pom.xml
@@ -51,7 +51,7 @@
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-rmi-runtime</artifactId>
+ <artifactId>tuscany-binding-hazelcast-runtime</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>
<dependency>
diff --git a/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast/src/test/java/itest/TwoRemoteNodesTestCase.java b/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast/src/test/java/itest/TwoRemoteNodesTestCase.java
index 888b4df156..841621964f 100644
--- a/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast/src/test/java/itest/TwoRemoteNodesTestCase.java
+++ b/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast/src/test/java/itest/TwoRemoteNodesTestCase.java
@@ -25,7 +25,6 @@ import itest.nodes.Helloworld;
import java.net.URI;
-import org.apache.tuscany.sca.binding.rmi.RMIBinding;
import org.apache.tuscany.sca.node.Node;
import org.apache.tuscany.sca.node.NodeFactory;
import org.junit.AfterClass;
@@ -61,9 +60,9 @@ public class TwoRemoteNodesTestCase{
assertNotNull(client);
assertEquals("Hi Hello Petra", client.sayHello("Petra"));
-// Helloworld scaClientService = SCAClientFactory.newInstance(URI.create("TwoRemoteNodesTestCase")).getService(Helloworld.class, "HelloworldService");
-// assertNotNull(scaClientService);
-// assertEquals("Hello Petra", scaClientService.sayHello("Petra"));
+ Helloworld scaClientService = SCAClientFactory.newInstance(URI.create("TwoRemoteNodesTestCase")).getService(Helloworld.class, "HelloworldService");
+ assertNotNull(scaClientService);
+ assertEquals("Hello Petra", scaClientService.sayHello("Petra"));
Helloworld scaClientClient = SCAClientFactory.newInstance(URI.create("TwoRemoteNodesTestCase")).getService(Helloworld.class, "HelloworldClient");
assertNotNull(scaClientClient);