Update of /cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17892/test/net/sourceforge/jwebunit
Modified Files:
NavigationTest.java FormSubmissionTest.java
Log Message:
minor changes.
Index: FormSubmissionTest.java
===================================================================
RCS file:
/cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit/FormSubmissionTest.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** FormSubmissionTest.java 20 Sep 2004 15:18:51 -0000 1.21
--- FormSubmissionTest.java 5 Mar 2005 05:46:59 -0000 1.22
***************
*** 160,164 ****
WebResponse oldResp = getDialog().getResponse();
submit("button2b");
! assertNull(getDialog().getForm());
assertTrue(getDialog().getResponse() != oldResp);
}
--- 160,164 ----
WebResponse oldResp = getDialog().getResponse();
submit("button2b");
! assertFalse(getDialog().hasForm());
assertTrue(getDialog().getResponse() != oldResp);
}
Index: NavigationTest.java
===================================================================
RCS file:
/cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit/NavigationTest.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** NavigationTest.java 14 Sep 2004 19:57:23 -0000 1.15
--- NavigationTest.java 5 Mar 2005 05:46:59 -0000 1.16
***************
*** 71,75 ****
fail();
} catch (AssertionFailedError expected) {
! assertEquals("Link with text [an active link] and index 2 "
+ "not found in response.", expected.getMessage());
}
--- 71,75 ----
fail();
} catch (AssertionFailedError expected) {
! assertEquals("Link with text [an active link] and index [2] "
+ "not found in response.", expected.getMessage());
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development