diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-12-14 10:30:42 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-12-14 10:30:42 +0000 |
commit | 4fa7ded481367fe182f199e5c8bfbe7bbd0fb4ee (patch) | |
tree | 5c92b05fa7f966e7ac31f0b82d8923b692c301cd /sca-java-2.x/trunk/modules | |
parent | 85720530180e2bf4f9aa1c6e9834bea047ed3f38 (diff) |
Fix testcase to close writer
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1049024 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules')
-rw-r--r-- | sca-java-2.x/trunk/modules/assembly-xml/src/test/java/org/apache/tuscany/sca/assembly/xml/WriteNamespacesTestCase.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/assembly-xml/src/test/java/org/apache/tuscany/sca/assembly/xml/WriteNamespacesTestCase.java b/sca-java-2.x/trunk/modules/assembly-xml/src/test/java/org/apache/tuscany/sca/assembly/xml/WriteNamespacesTestCase.java index f50cd5811f..cafdbda506 100644 --- a/sca-java-2.x/trunk/modules/assembly-xml/src/test/java/org/apache/tuscany/sca/assembly/xml/WriteNamespacesTestCase.java +++ b/sca-java-2.x/trunk/modules/assembly-xml/src/test/java/org/apache/tuscany/sca/assembly/xml/WriteNamespacesTestCase.java @@ -82,6 +82,7 @@ public class WriteNamespacesTestCase { ByteArrayOutputStream bos = new ByteArrayOutputStream(); XMLStreamWriter writer = outputFactory.createXMLStreamWriter(bos); compositeProcessor.write(composite, writer, context); + writer.close(); System.out.println(bos); // Read again |