Update of /cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25149/test/net/sourceforge/jwebunit
Modified Files:
FormSubmissionTest.java FormAssertionsTest.java
Log Message:
jew: patch 800660 integration - better support for submit button values
Index: FormSubmissionTest.java
===================================================================
RCS file:
/cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit/FormSubmissionTest.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** FormSubmissionTest.java 28 Apr 2003 20:07:07 -0000 1.20
--- FormSubmissionTest.java 20 Sep 2004 15:18:51 -0000 1.21
***************
*** 95,98 ****
--- 95,101 ----
submit("color");
assertTextPresent("Parms are: color=red");
+ gotoMultiButtonPage();
+ submit("color", "blue");
+ assertTextPresent("Parms are: color=blue");
}
***************
*** 262,265 ****
--- 265,269 ----
"<input name=\"button1\" value=\"b1\" type=submit>" +
"<input name=\"color\" value=\"red\" type=submit>" +
+ "<input name=\"color\" value=\"blue\" type=submit>" +
"</form></body></html>");
}
Index: FormAssertionsTest.java
===================================================================
RCS file:
/cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit/FormAssertionsTest.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** FormAssertionsTest.java 29 Aug 2004 19:04:28 -0000 1.21
--- FormAssertionsTest.java 20 Sep 2004 15:18:52 -0000 1.22
***************
*** 88,92 ****
public void testAssertSubmitButtonValue() throws Throwable {
! assertPassFail("assertSubmitButtonValue",
new Object[]{"submitButton", "buttonLabel"},
new Object[]{"submitButton", "noSuchLabel"});
--- 88,92 ----
public void testAssertSubmitButtonValue() throws Throwable {
! assertPassFail("assertSubmitButtonPresent",
new Object[]{"submitButton", "buttonLabel"},
new Object[]{"submitButton", "noSuchLabel"});
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Jwebunit-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development