diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-15 18:36:42 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-15 18:36:42 +0000 |
commit | 73ffdb3c639f918474bc0df9dac57af8b121f3ab (patch) | |
tree | 3b9301fb26221936bbb6b7e1bccacc5498953bc3 /java/sca/itest/contribution-folder | |
parent | 80f7efa886898658571776162c633bd5399d43e6 (diff) |
Push down some of the createNode() methods to NodeFactory and only require the createNode(NodeConfiguration) to be implemented by subclasses
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@775283 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/itest/contribution-folder')
-rw-r--r-- | java/sca/itest/contribution-folder/src/test/java/test/ContributionFolderTestCase.java (renamed from java/sca/itest/contribution-folder/src/test/java/ContributionFolderTestCase.java) | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/java/sca/itest/contribution-folder/src/test/java/ContributionFolderTestCase.java b/java/sca/itest/contribution-folder/src/test/java/test/ContributionFolderTestCase.java index 582b9cf5c1..184738554c 100644 --- a/java/sca/itest/contribution-folder/src/test/java/ContributionFolderTestCase.java +++ b/java/sca/itest/contribution-folder/src/test/java/test/ContributionFolderTestCase.java @@ -1,4 +1,4 @@ -
+package test;
import junit.framework.TestCase;
@@ -8,20 +8,18 @@ import org.apache.tuscany.sca.node.NodeFactory; import calculator.CalculatorService;
-
-
/**
* Test SCADomain.newInstance and invocation of a service.
- *
+ *
* @version $Rev: 608205 $ $Date: 2008-01-02 20:29:05 +0000 (Wed, 02 Jan 2008) $
*/
public class ContributionFolderTestCase extends TestCase {
private Node node;
-
+
@Override
protected void setUp() throws Exception {
- node = NodeFactory.newInstance().createNode(null, new Contribution("foo", "src/test/resources/repository"));
+ node = NodeFactory.newInstance().createNode(new Contribution("foo", "src/test/resources/repository"));
node.start();
}
|