diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-29 02:46:21 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-29 02:46:21 +0000 |
commit | 490374326cf57b0161d053aea3a9f0cedd7d2228 (patch) | |
tree | 1a0dc011461aef099bf3fe33165b45a9ba492680 /sca-java-2.x/trunk/modules/implementation-python/src/test/java | |
parent | 460613d0d5e60b9ed43094220b89dd31388463c2 (diff) |
Minor change. Code format and cleanup.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@990478 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca/implementation/python/ReadWriteTestCase.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca/implementation/python/ReadWriteTestCase.java b/sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca/implementation/python/ReadWriteTestCase.java index 2f5f8b16dc..388df1d210 100644 --- a/sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca/implementation/python/ReadWriteTestCase.java +++ b/sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca/implementation/python/ReadWriteTestCase.java @@ -43,7 +43,6 @@ import org.apache.tuscany.sca.monitor.Monitor; import org.junit.BeforeClass; import org.junit.Test; - /** * Test reading/writing Python implementations. * @@ -71,7 +70,7 @@ public class ReadWriteTestCase { @Test public void testRead() throws Exception { final InputStream is = getClass().getClassLoader().getResourceAsStream("domain-test.composite"); - final Composite c = (Composite) xproc.read(xif.createXMLStreamReader(is), ctx); + final Composite c = (Composite)xproc.read(xif.createXMLStreamReader(is), ctx); assertNotNull(c); assertEquals("server_test.py", ((PythonImplementation)c.getComponents().get(0).getImplementation()).getScript()); } @@ -79,7 +78,7 @@ public class ReadWriteTestCase { @Test public void testReadWrite() throws Exception { final InputStream is = getClass().getClassLoader().getResourceAsStream("domain-test.composite"); - final Composite c = (Composite) xproc.read(xif.createXMLStreamReader(is), ctx); + final Composite c = (Composite)xproc.read(xif.createXMLStreamReader(is), ctx); final ByteArrayOutputStream bos = new ByteArrayOutputStream(); xproc.write(c, xof.createXMLStreamWriter(bos), ctx); assertTrue(bos.toString().contains("script=\"server_test.py\"")); |