summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-10 12:12:22 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-10 12:12:22 +0000
commit666d26cb2302724c0c4feeb656a0113de05cd2d1 (patch)
treec97385a6621aa42e329ffc2680505b7715fb2ecc /sca-java-2.x/trunk/modules
parentd7137b0da3d52c459172d16d3b930db2a6efa696 (diff)
Update testcase to also test the AsString method
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1101421 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules')
-rw-r--r--sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/runtime/DomainCompositeTestCase.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/runtime/DomainCompositeTestCase.java b/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/runtime/DomainCompositeTestCase.java
index 97ef2ece70..89ddffc710 100644
--- a/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/runtime/DomainCompositeTestCase.java
+++ b/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/runtime/DomainCompositeTestCase.java
@@ -50,6 +50,10 @@ public class DomainCompositeTestCase {
Assert.assertEquals(1, dc.getIncludes().size());
Composite c = dc.getIncludes().get(0);
Assert.assertEquals("helloworld", c.getName().getLocalPart());
+
+ String s = node.getDomainLevelCompositeAsString();
+ System.out.println(s);
+ Assert.assertTrue(s.contains(":helloworld\""));
node.stop("helloworld", "helloworld.composite");
Assert.assertEquals(0, node.getDomainLevelComposite().getIncludes().size());