Update of /cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16948/test/net/sourceforge/jwebunit

Modified Files:
        JavaScriptEventsTest.java FramesAndWindowsTest.java 
Log Message:
Moved javascript test to javascript testcase.

Index: JavaScriptEventsTest.java
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit/JavaScriptEventsTest.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** JavaScriptEventsTest.java   26 Dec 2005 11:47:25 -0000      1.11
--- JavaScriptEventsTest.java   26 Dec 2005 12:19:15 -0000      1.12
***************
*** 45,48 ****
--- 45,49 ----
      public void testButtonOnClick() {
          beginAt("FormOnSubmit.html");
+         assertButtonPresent("b1");
          clickButton("b1");
          gotoWindow("child");
***************
*** 102,104 ****
--- 103,111 ----
        }
  
+     public void testGreenLink() {
+         beginAt("index.html");
+         assertFormElementEquals("color", "blue");
+         clickLink("SetColorGreen");
+         assertFormElementEquals("color", "green");
+     }    
  }

Index: FramesAndWindowsTest.java
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit/FramesAndWindowsTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** FramesAndWindowsTest.java   26 Dec 2005 10:53:21 -0000      1.9
--- FramesAndWindowsTest.java   26 Dec 2005 12:19:15 -0000      1.10
***************
*** 41,53 ****
          gotoRootAndOpenChild("ChildPage1");
          assertPassFail("assertWindowPresent", new Object[]{"ChildPage1"}, new 
Object[]{"NoSuchChild"});
!     }
! 
!     //todo: move to javascript events test
!     public void testGreenLink() {
!         beginAt("RootPage.html");
!         assertFormElementEquals("color", "blue");
!         clickLink("SetColorGreen");
!         assertFormElementEquals("color", "green");
!     }
  
      public void testGotoWindow() {
--- 41,45 ----
          gotoRootAndOpenChild("ChildPage1");
          assertPassFail("assertWindowPresent", new Object[]{"ChildPage1"}, new 
Object[]{"NoSuchChild"});
!     }   
  
      public void testGotoWindow() {



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to