diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-01 12:59:41 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-01 12:59:41 +0000 |
commit | 1367d00afa0697dcab3b9568377daf2d9e1e29eb (patch) | |
tree | 15f2d7200a68da2f04172dff632476d1aaf34131 /java | |
parent | 796959a963ce650a710e62b227e178ce549a41f8 (diff) |
Update testcase to work if the cargo jndi environment did work
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@820638 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r-- | java/sca/itest/distribution/webapp-helloworld-jms/src/test/java/itest/HelloworldTestCase.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/sca/itest/distribution/webapp-helloworld-jms/src/test/java/itest/HelloworldTestCase.java b/java/sca/itest/distribution/webapp-helloworld-jms/src/test/java/itest/HelloworldTestCase.java index 7bcd590cf0..bc436667c8 100644 --- a/java/sca/itest/distribution/webapp-helloworld-jms/src/test/java/itest/HelloworldTestCase.java +++ b/java/sca/itest/distribution/webapp-helloworld-jms/src/test/java/itest/HelloworldTestCase.java @@ -38,11 +38,12 @@ public class HelloworldTestCase { @Test
public void testA() throws FailingHttpStatusCodeException, MalformedURLException, IOException {
- HtmlPage page = (HtmlPage)new WebClient().getPage("http://localhost:8085/helloworld-jsp");
+ HtmlPage page = (HtmlPage)new WebClient().getPage("http://localhost:8085/helloworld-jms");
Iterator<?> ss = page.getAllHtmlChildElements();
ss.next();
ss.next();
ss.next();
+ ss.next();
HtmlParagraph p = (HtmlParagraph)ss.next();
assertEquals("Hello world", p.asText());
}
|