From 7d97c341738d3cb5c0969374215a78b0df31da0d Mon Sep 17 00:00:00 2001 From: antelder Date: Sat, 23 Jan 2010 12:51:13 +0000 Subject: 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 --- .../src/test/java/test/scaclient/SCAClientTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sca-java-2.x/trunk/itest/scaclient-api-jse-osgi') 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")); } -- cgit v1.2.3