summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/itest/scaclient-api-osgi/src/test/java/test/scaclient/SCAClientTestCase.java
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-01-23 12:51:13 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-01-23 12:51:13 +0000
commit7d97c341738d3cb5c0969374215a78b0df31da0d (patch)
tree332148d69ccb5eafd2cde78aab9648115666f275 /sca-java-2.x/trunk/itest/scaclient-api-osgi/src/test/java/test/scaclient/SCAClientTestCase.java
parent7493d03ae1b64ba2c605ea22a4cd6392925215dd (diff)
Fix the node tests by using a consistent domain name everywhere and using NodeFactory.getInstance instead of newInstance, change the default domain name to be simply 'default', add all the node itests back into the build as they work now
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@902401 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/itest/scaclient-api-osgi/src/test/java/test/scaclient/SCAClientTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/itest/scaclient-api-osgi/src/test/java/test/scaclient/SCAClientTestCase.java b/sca-java-2.x/trunk/itest/scaclient-api-osgi/src/test/java/test/scaclient/SCAClientTestCase.java
index 2a2fcdf842..431b2995aa 100644
--- a/sca-java-2.x/trunk/itest/scaclient-api-osgi/src/test/java/test/scaclient/SCAClientTestCase.java
+++ b/sca-java-2.x/trunk/itest/scaclient-api-osgi/src/test/java/test/scaclient/SCAClientTestCase.java
@@ -51,7 +51,7 @@ public class SCAClientTestCase extends TestCase {
public void testInvoke() throws NoSuchServiceException, NoSuchDomainException {
HelloworldService service =
- SCAClientFactory.newInstance(URI.create("http://tuscany.apache.org/sca/1.1/domains/default")).getService(HelloworldService.class, "HelloworldComponent");
+ SCAClientFactory.newInstance(URI.create("default")).getService(HelloworldService.class, "HelloworldComponent");
String result = service.sayHello("petra");
assertEquals("Hello petra", result);
System.out.println("Result from SCAClient call = " + result);