summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/domain-node/src/test/java
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-09-03 13:07:13 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-09-03 13:07:13 +0000
commit987617f3decd05f2d3c3009d466ca6884708ab52 (patch)
tree2d8cbf6525dfd57279bd69fb395227699698f640 /sca-java-2.x/trunk/modules/domain-node/src/test/java
parentf059b86e0365e9411c76a5e5462890b03497b4a8 (diff)
Fix typo in method name.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@992287 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/domain-node/src/test/java')
-rw-r--r--sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/node2/DeployerTestCase.java2
-rw-r--r--sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/node2/NodeTestCase.java10
2 files changed, 6 insertions, 6 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/node2/DeployerTestCase.java b/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/node2/DeployerTestCase.java
index 450e5a8b3e..4d0d4abfd2 100644
--- a/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/node2/DeployerTestCase.java
+++ b/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/node2/DeployerTestCase.java
@@ -69,7 +69,7 @@ public class DeployerTestCase {
monitor.analyzeProblems();
composite.setURI("helloworld2.composite");
node.addDeploymentComposite("foo", composite);
- List<String> dcs = node.getDeployedCompostes("foo");
+ List<String> dcs = node.getDeployedComposites("foo");
Assert.assertEquals(1, dcs.size());
Assert.assertEquals("helloworld2.composite", dcs.get(0));
}
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 0792a25454..cdf8b02688 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
@@ -85,7 +85,7 @@ public class NodeTestCase {
public void testGetDeployedCompostes() 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);
- List<String> dcs = node.getDeployedCompostes("foo");
+ List<String> dcs = node.getDeployedComposites("foo");
Assert.assertEquals(1, dcs.size());
Assert.assertEquals("helloworld.composite", dcs.get(0));
}
@@ -95,7 +95,7 @@ public class NodeTestCase {
Node node = NodeFactory.newInstance().createNode("default");
node.installContribution("foo", "src/test/resources/sample-helloworld.jar", null, null, true);
node.removeFromDomainLevelComposite("foo", "helloworld.composite");
- List<String> dcs = node.getDeployedCompostes("foo");
+ List<String> dcs = node.getDeployedComposites("foo");
Assert.assertEquals(0, dcs.size());
}
@@ -104,7 +104,7 @@ public class NodeTestCase {
Node node = NodeFactory.newInstance().createNode("default");
((NodeImpl)node).installContribution("helloworld", "src/test/resources/sample-helloworld-nodeployable.jar", "src/test/resources/sca-contribution-generated.xml", null, true);
- List<String> dcs = node.getDeployedCompostes("helloworld");
+ List<String> dcs = node.getDeployedComposites("helloworld");
Assert.assertEquals(1, dcs.size());
Assert.assertEquals("helloworld.composite", dcs.get(0));
@@ -124,7 +124,7 @@ public class NodeTestCase {
Node node = NodeFactory.newStandaloneNode("helloworld.composite", "src/test/resources/sample-helloworld.jar");
List<String> cs = node.getInstalledContributions();
Assert.assertEquals(1, cs.size());
- List<String> dcs = node.getDeployedCompostes(cs.get(0));
+ List<String> dcs = node.getDeployedComposites(cs.get(0));
Assert.assertEquals(1, dcs.size());
Assert.assertEquals("helloworld.composite", dcs.get(0));
}
@@ -134,7 +134,7 @@ public class NodeTestCase {
Node node = NodeFactory.newStandaloneNode(null, "src/test/resources/sample-helloworld.jar");
List<String> cs = node.getInstalledContributions();
Assert.assertEquals(1, cs.size());
- List<String> dcs = node.getDeployedCompostes(cs.get(0));
+ List<String> dcs = node.getDeployedComposites(cs.get(0));
Assert.assertEquals(1, dcs.size());
Assert.assertEquals("helloworld.composite", dcs.get(0));
}