Update of /cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16199/test/net/sourceforge/jwebunit
Modified Files:
FormAssertionsTest.java
Log Message:
Added patch for issue 1005396
Index: FormAssertionsTest.java
===================================================================
RCS file:
/cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit/FormAssertionsTest.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** FormAssertionsTest.java 30 Jun 2004 19:06:52 -0000 1.20
--- FormAssertionsTest.java 29 Aug 2004 19:04:28 -0000 1.21
***************
*** 6,10 ****
--- 6,18 ----
package net.sourceforge.jwebunit;
+ import net.sourceforge.jwebunit.util.JettySetup;
+ import junit.framework.Test;
+ import junit.framework.TestSuite;
+
public class FormAssertionsTest extends JWebUnitTest {
+ public static Test suite() {
+ Test suite = new TestSuite(FormAssertionsTest.class);
+ return new JettySetup(suite);
+ }
public void setUp() throws Exception {
***************
*** 14,17 ****
--- 22,33 ----
}
+ public void testAssertButtonWithTextPresent() {
+
getTestContext().setBaseUrl("http://localhost:8081/jwebunit/FormAssertionsTest");
+ beginAt("/assertButtonWithText.html");
+ assertButtonPresentWithText("buttonValue1");
+ assertButtonPresentWithText("buttonValue2");
+ assertButtonNotPresentWithText("buttonValue3");
+ }
+
public void testAssertFormParameterPresent() throws Throwable {
assertPassFail("assertFormElementPresent", "testInputElement",
"noSuchElement");
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Jwebunit-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development