diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-17 14:54:36 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-17 14:54:36 +0000 |
commit | 2d968dcc13406af15c392b9c24639bb0e608cf9c (patch) | |
tree | 3f308d8c03b7ddec29eefa7ae523f3ebc4f79878 /sandbox/slaws | |
parent | 7b53a477d2d73f6eff33964f9b58a1a83776d546 (diff) |
Load the common contribution as it's required by the bank contribution
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@935184 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/slaws')
-rw-r--r-- | sandbox/slaws/bank-challenge/bank-contribution/src/test/java/test/BankTestCase.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sandbox/slaws/bank-challenge/bank-contribution/src/test/java/test/BankTestCase.java b/sandbox/slaws/bank-challenge/bank-contribution/src/test/java/test/BankTestCase.java index c3c2f1391e..fbf8456054 100644 --- a/sandbox/slaws/bank-challenge/bank-contribution/src/test/java/test/BankTestCase.java +++ b/sandbox/slaws/bank-challenge/bank-contribution/src/test/java/test/BankTestCase.java @@ -20,6 +20,7 @@ package test; import static org.junit.Assert.assertEquals; +import org.apache.tuscany.sca.node.Contribution; import org.apache.tuscany.sca.node.Node; import org.apache.tuscany.sca.node.NodeFactory; import org.junit.AfterClass; @@ -38,7 +39,8 @@ public class BankTestCase{ @BeforeClass public static void setUpBeforeClass() throws Exception { - node = NodeFactory.newInstance().createNode((String)null, new String[] {"target/classes"}); + node = NodeFactory.newInstance().createNode(new Contribution("Bank", "../bank-contribution/target/classes"), + new Contribution("Common", "../common-contribution/target/classes")); node.start(); bankService = node.getService(BankService.class, "BankServiceComponent/BankService"); } |