summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/binding-http-runtime/src/test/java/org/apache/tuscany/sca/binding/http/HelloworldTestCase.java
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-08-31 06:19:36 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-08-31 06:19:36 +0000
commit9376cf7266b7b264879cec02a48555eaa9a20299 (patch)
treeb35f55f561356e457f3f06878066ef0d072b8cb5 /sca-java-2.x/trunk/modules/binding-http-runtime/src/test/java/org/apache/tuscany/sca/binding/http/HelloworldTestCase.java
parentf67386be77288ab36155456f9d60692fda75d065 (diff)
Start function for handling xml format
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@991088 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/modules/binding-http-runtime/src/test/java/org/apache/tuscany/sca/binding/http/HelloworldTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-http-runtime/src/test/java/org/apache/tuscany/sca/binding/http/HelloworldTestCase.java b/sca-java-2.x/trunk/modules/binding-http-runtime/src/test/java/org/apache/tuscany/sca/binding/http/HelloworldTestCase.java
index c7f2403af6..89598b91c7 100644
--- a/sca-java-2.x/trunk/modules/binding-http-runtime/src/test/java/org/apache/tuscany/sca/binding/http/HelloworldTestCase.java
+++ b/sca-java-2.x/trunk/modules/binding-http-runtime/src/test/java/org/apache/tuscany/sca/binding/http/HelloworldTestCase.java
@@ -70,7 +70,7 @@ public class HelloworldTestCase {
public void testXml() throws Exception {
URL url = new URL("http://localhost:8080/HelloworldXmlComponent/Helloworld/sayHello?arg0=Petra");
InputStream is = url.openStream();
- Assert.assertTrue(read(is).endsWith(">Hello null</return>"));
+ Assert.assertTrue(read(is).endsWith(">Hello Petra</return>"));
}
private static String read(InputStream is) throws IOException {