summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/domain-node/src/test
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-08-02 13:58:01 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-08-02 13:58:01 +0000
commit21208b1179836cfbe945e085753345cd81b12408 (patch)
tree13e78f591422a63f26aa3398053aee3d93ada00d /sca-java-2.x/trunk/modules/domain-node/src/test
parent40dc8658b2cbf5856b5588a57ddcce62f46b1262 (diff)
Change add/removeToDoamin method to have the contribution and composite uri as separate parameters
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@981512 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/domain-node/src/test')
-rw-r--r--sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/node2/NodeTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/node2/NodeTestCase.java b/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/node2/NodeTestCase.java
index eb1dd704ee..45e555e192 100644
--- a/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/node2/NodeTestCase.java
+++ b/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/node2/NodeTestCase.java
@@ -65,7 +65,7 @@ public class NodeTestCase {
// // expected as there is no deployables
// }
- node.addToDomainLevelComposite("helloworld" + "/helloworld.composite");
+ node.addToDomainLevelComposite("helloworld", "helloworld.composite");
// Helloworld helloworldService = scaClientFactory.getService(Helloworld.class, "HelloworldComponent");
// Assert.assertEquals("Hello petra", helloworldService.sayHello("petra"));
}
@@ -92,7 +92,7 @@ public class NodeTestCase {
public void testRemoveComposte() throws NoSuchServiceException, NoSuchDomainException, ContributionReadException, MalformedURLException, ActivationException, ValidationException {
Node node = NodeFactory.newInstance().createNode("default");
node.installContribution("foo", "src/test/resources/sample-helloworld.jar", null, null, true);
- node.removeFromDomainLevelComposite("foo/helloworld.composite");
+ node.removeFromDomainLevelComposite("foo", "helloworld.composite");
List<String> dcs = node.getDeployedCompostes("foo");
Assert.assertEquals(0, dcs.size());
}