diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-23 12:51:13 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-23 12:51:13 +0000 |
commit | 7d97c341738d3cb5c0969374215a78b0df31da0d (patch) | |
tree | 332148d69ccb5eafd2cde78aab9648115666f275 /sca-java-2.x/trunk/itest/scaclient-api-jse-osgi | |
parent | 7493d03ae1b64ba2c605ea22a4cd6392925215dd (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 'sca-java-2.x/trunk/itest/scaclient-api-jse-osgi')
-rw-r--r-- | sca-java-2.x/trunk/itest/scaclient-api-jse-osgi/src/test/java/test/scaclient/SCAClientTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/itest/scaclient-api-jse-osgi/src/test/java/test/scaclient/SCAClientTestCase.java b/sca-java-2.x/trunk/itest/scaclient-api-jse-osgi/src/test/java/test/scaclient/SCAClientTestCase.java index fbdc8c4a0b..8bf162dfd9 100644 --- a/sca-java-2.x/trunk/itest/scaclient-api-jse-osgi/src/test/java/test/scaclient/SCAClientTestCase.java +++ b/sca-java-2.x/trunk/itest/scaclient-api-jse-osgi/src/test/java/test/scaclient/SCAClientTestCase.java @@ -51,7 +51,7 @@ public class SCAClientTestCase extends TestCase { // At the moment the SCAClientFactory assumes that only one domain is active // in a JVM. So we pass in null for the domain name and get what we're given 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"); assertEquals("Hello petra", service.sayHello("petra")); } |