summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/extending-tuscany
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-12-23 12:54:23 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-12-23 12:54:23 +0000
commit50ea93ab5b00526112cf916eb33c6433d6dcb853 (patch)
treee9c241105f6928fb7f4444e9b1175cf894fe7d9e /sca-java-2.x/trunk/samples/extending-tuscany
parent7aa399607671e79b5724cdc52a4a82bd9929c02e (diff)
Restrict test cases to starting a single composite
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052246 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/extending-tuscany')
-rw-r--r--sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunTestCase.java2
-rw-r--r--sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunWSTestCase.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunTestCase.java b/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunTestCase.java
index 29bf02d26b..1faa5b2ca6 100644
--- a/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunTestCase.java
+++ b/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunTestCase.java
@@ -44,7 +44,7 @@ public class RunTestCase {
@BeforeClass
public static void setUp() throws Exception {
final NodeFactory nf = NodeFactory.newInstance();
- node = nf.createNode(new Contribution("test", here()));
+ node = nf.createNode("test.composite", new Contribution("test", here()));
node.start();
}
diff --git a/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunWSTestCase.java b/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunWSTestCase.java
index 61133d0fbf..dcade6a818 100644
--- a/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunWSTestCase.java
+++ b/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunWSTestCase.java
@@ -58,7 +58,7 @@ public class RunWSTestCase {
public static void setUp() throws Exception {
// Start test composite on a Tuscany node
final NodeFactory nf = NodeFactory.newInstance();
- node = nf.createNode(new Contribution("test", here()));
+ node = nf.createNode("test.composite", new Contribution("test", here()));
node.start();
// Mock up a test Web service on http://localhost:8086/wsupper