summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/itest/scaclient-api-rmi/pom.xml5
-rw-r--r--sca-java-2.x/trunk/itest/scaclient-api-rmi/src/test/java/test/scaclient/SCAClientTestCase.java4
2 files changed, 6 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/itest/scaclient-api-rmi/pom.xml b/sca-java-2.x/trunk/itest/scaclient-api-rmi/pom.xml
index 43c15a4fb8..50fdb2793d 100644
--- a/sca-java-2.x/trunk/itest/scaclient-api-rmi/pom.xml
+++ b/sca-java-2.x/trunk/itest/scaclient-api-rmi/pom.xml
@@ -46,6 +46,11 @@
<artifactId>tuscany-endpoint-hazelcast</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-endpoint-hazelcast-client</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ </dependency>
<dependency>
diff --git a/sca-java-2.x/trunk/itest/scaclient-api-rmi/src/test/java/test/scaclient/SCAClientTestCase.java b/sca-java-2.x/trunk/itest/scaclient-api-rmi/src/test/java/test/scaclient/SCAClientTestCase.java
index 91a3f552f4..6954c3eb99 100644
--- a/sca-java-2.x/trunk/itest/scaclient-api-rmi/src/test/java/test/scaclient/SCAClientTestCase.java
+++ b/sca-java-2.x/trunk/itest/scaclient-api-rmi/src/test/java/test/scaclient/SCAClientTestCase.java
@@ -44,18 +44,16 @@ public class SCAClientTestCase {
@BeforeClass
public static void setUpBeforeClass() throws Exception {
- System.setProperty("org.apache.tuscany.sca.binding.sca.provider.SCABindingMapper.mappedBinding", RMIBinding.TYPE.toString());
}
@AfterClass
public static void tearDownAfterClass() throws Exception {
- System.clearProperty("org.apache.tuscany.sca.binding.sca.provider.SCABindingMapper.mappedBinding");
}
@Test
public void testDefault() throws Exception {
- node = NodeFactory.getInstance().createNode((String)null, new String[] {"target/classes"});
+ node = NodeFactory.getInstance().createNode(URI.create("SCAClientTestCaseDomain"),(String)null, new String[] {"target/classes"});
node.start();
HelloworldService service = SCAClientFactory.newInstance(URI.create("default")).getService(HelloworldService.class, "HelloworldComponent");