summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--java/sca/itest/bpel/helloworld/src/test/java/helloworld/HelloWorldTestCase.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/java/sca/itest/bpel/helloworld/src/test/java/helloworld/HelloWorldTestCase.java b/java/sca/itest/bpel/helloworld/src/test/java/helloworld/HelloWorldTestCase.java
index 31b3577da4..86e6e4e9c5 100644
--- a/java/sca/itest/bpel/helloworld/src/test/java/helloworld/HelloWorldTestCase.java
+++ b/java/sca/itest/bpel/helloworld/src/test/java/helloworld/HelloWorldTestCase.java
@@ -22,6 +22,8 @@ package helloworld;
import junit.framework.Assert;
import org.apache.tuscany.implementation.bpel.example.helloworld.HelloPortType;
+import org.apache.tuscany.sca.node.Contribution;
+import org.apache.tuscany.sca.node.ContributionLocationHelper;
import org.apache.tuscany.sca.node.Node;
import org.apache.tuscany.sca.node.NodeFactory;
import org.junit.AfterClass;
@@ -42,7 +44,8 @@ public class HelloWorldTestCase {
*/
@BeforeClass
public static void setUp() throws Exception {
- node = NodeFactory.newInstance().createNode();
+ String location = ContributionLocationHelper.getContributionLocation("helloworld/helloworld.composite");
+ node = NodeFactory.newInstance().createNode("helloworld/helloworld.composite", new Contribution("c1", location));
node.start();
}