Update of /cvsroot/jwebunit/jWebUnit/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28326/doc
Modified Files:
index.html
Log Message:
jw: corrected httpunit sample test
Index: index.html
===================================================================
RCS file: /cvsroot/jwebunit/jWebUnit/doc/index.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** index.html 22 Nov 2002 23:47:10 -0000 1.4
--- index.html 30 Sep 2004 16:10:29 -0000 1.5
***************
*** 70,76 ****
WebRequest req = form.getRequest("btnG");
resp = wc.getResponse(req);
! assertNotNull(resp.getLinkWith("HttpUnit"));
resp = resp.getLinkWith("HttpUnit").click();
! assertEquals(resp.getTitle(), "HttpUnit");
assertNotNull(resp.getLinkWith("User's Manual"));
}
--- 70,76 ----
WebRequest req = form.getRequest("btnG");
resp = wc.getResponse(req);
! assertNotNull(resp.getLinkWith("HttpUnit Home"));
resp = resp.getLinkWith("HttpUnit").click();
! assertEquals(resp.getTitle(), "HttpUnit Home");
assertNotNull(resp.getLinkWith("User's Manual"));
}
***************
*** 98,103 ****
setFormElement("q", "httpunit");
submit("btnG");
! clickLinkWithText("HttpUnit");
! assertTitleEquals("HttpUnit");
assertLinkPresentWithText("User's Manual");
}
--- 98,103 ----
setFormElement("q", "httpunit");
submit("btnG");
! clickLinkWithText("HttpUnit Home");
! assertTitleEquals("HttpUnit Home");
assertLinkPresentWithText("User's Manual");
}
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Jwebunit-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development