diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-16 08:07:52 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-16 08:07:52 +0000 |
commit | ef64bdf58851e4efec41b570b8e5ad855e6c7ac1 (patch) | |
tree | dd523e7b9fcfe768d3d9c14d8ad3ff6d48911fb9 /sca-java-2.x/trunk | |
parent | ee9fd191f29bfda32e3d09d7bb6c91d7c9ff2650 (diff) |
Update sca client test to use hazelcast client
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@923621 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/itest/scaclient-api-rmi/pom.xml | 5 | ||||
-rw-r--r-- | sca-java-2.x/trunk/itest/scaclient-api-rmi/src/test/java/test/scaclient/SCAClientTestCase.java | 4 |
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");
|