tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r820638 - /tuscany/java/sca/itest/distribution/webapp-helloworld-jms/src/test/java/itest/HelloworldTestCase.java
Date Thu, 01 Oct 2009 12:59:42 GMT
Author: antelder
Date: Thu Oct  1 12:59:41 2009
New Revision: 820638

URL: http://svn.apache.org/viewvc?rev=820638&view=rev
Log:
Update testcase to work if the cargo jndi environment did work

Modified:
    tuscany/java/sca/itest/distribution/webapp-helloworld-jms/src/test/java/itest/HelloworldTestCase.java

Modified: tuscany/java/sca/itest/distribution/webapp-helloworld-jms/src/test/java/itest/HelloworldTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/itest/distribution/webapp-helloworld-jms/src/test/java/itest/HelloworldTestCase.java?rev=820638&r1=820637&r2=820638&view=diff
==============================================================================
--- tuscany/java/sca/itest/distribution/webapp-helloworld-jms/src/test/java/itest/HelloworldTestCase.java
(original)
+++ tuscany/java/sca/itest/distribution/webapp-helloworld-jms/src/test/java/itest/HelloworldTestCase.java
Thu Oct  1 12:59:41 2009
@@ -38,11 +38,12 @@
 
     @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());
     }



Mime
View raw message