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

Modified Files:
        HttpUnitDialog.java WebTester.java WebTestCase.java 
        CompositeJWebUnitDialog.java IJWebUnitDialog.java 
Log Message:
more changes for release of jacobie and jwebunit.

Index: WebTester.java
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/src/net/sourceforge/jwebunit/WebTester.java,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -d -r1.58 -r1.59
*** WebTester.java      15 May 2005 19:55:12 -0000      1.58
--- WebTester.java      22 Jul 2005 01:24:54 -0000      1.59
***************
*** 1582,1585 ****
--- 1582,1595 ----
        }
  
+     /**
+      *  Clicks a button with <code>text</code> of the value attribute.
+      * @param text
+      *            the text of the button (contents of the value attribute).
+        */
+       public void clickButtonWithText(String buttonValueText) {
+               assertButtonPresentWithText(buttonValueText);
+               getDialog().clickButtonWithText(buttonValueText);
+       }
+ 
        /**
         * Navigate by selection of a link with a given image.

Index: CompositeJWebUnitDialog.java
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/src/net/sourceforge/jwebunit/CompositeJWebUnitDialog.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** CompositeJWebUnitDialog.java        15 May 2005 19:55:12 -0000      1.6
--- CompositeJWebUnitDialog.java        22 Jul 2005 01:24:55 -0000      1.7
***************
*** 558,561 ****
--- 558,565 ----
        }
  
+       public void clickButtonWithText(String buttonValueText) {
+               throw new UnsupportedOperationException("clickButtonWithText");
+       }
+ 
        /*
         * (non-Javadoc)

Index: HttpUnitDialog.java
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/src/net/sourceforge/jwebunit/HttpUnitDialog.java,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -d -r1.54 -r1.55
*** HttpUnitDialog.java 15 May 2005 19:55:12 -0000      1.54
--- HttpUnitDialog.java 22 Jul 2005 01:24:54 -0000      1.55
***************
*** 854,857 ****
--- 854,895 ----
      }
  
+ 
+       /*
+        * @see 
net.sourceforge.jwebunit.IJWebUnitDialog#isLinkPresentWithText(java.lang.String)
+        */
+       public boolean isLinkPresentWithExactText(String linkText) {
+               throw new 
UnsupportedOperationException("isLinkPresentWithText");
+       }
+ 
+       /*
+        * @see 
net.sourceforge.jwebunit.IJWebUnitDialog#isLinkPresentWithText(java.lang.String,
+        *      int)
+        */
+       public boolean isLinkPresentWithExactText(String linkText, int index) {
+               throw new 
UnsupportedOperationException("isLinkPresentWithText");
+       }
+ 
+     
+       /*
+        * (non-Javadoc)
+        * 
+        * @see 
net.sourceforge.jwebunit.IJWebUnitDialog#clickLinkWithExactText(java.lang.String)
+        */
+       public void clickLinkWithExactText(String linkText) {
+               throw new 
UnsupportedOperationException("clickLinkWithExactText");
+       }
+ 
+       /*
+        * (non-Javadoc)
+        * 
+        * @see 
net.sourceforge.jwebunit.IJWebUnitDialog#clickLinkWithExactText(java.lang.String,
+        *      int)
+        */
+       public void clickLinkWithExactText(String linkText, int index) {
+               throw new 
UnsupportedOperationException("clickLinkWithExactText");
+       }
+ 
+     
+ 
      /**
       * Navigate by submitting a request based on a link containing the 
specified

Index: WebTestCase.java
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/src/net/sourceforge/jwebunit/WebTestCase.java,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** WebTestCase.java    15 May 2005 19:55:12 -0000      1.56
--- WebTestCase.java    22 Jul 2005 01:24:55 -0000      1.57
***************
*** 592,595 ****
--- 592,599 ----
      }
      
+     public void clickButtonWithText(String buttonValueText) {
+         getTester().clickButtonWithText(buttonValueText);
+     }
+     
      protected void clickRadioOption(String radioGroup, String radioOption) {
          getTester().clickRadioOption(radioGroup, radioOption);

Index: IJWebUnitDialog.java
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/src/net/sourceforge/jwebunit/IJWebUnitDialog.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** IJWebUnitDialog.java        15 May 2005 19:55:12 -0000      1.7
--- IJWebUnitDialog.java        22 Jul 2005 01:24:55 -0000      1.8
***************
*** 416,419 ****
--- 416,429 ----
  
      /**
+      * Clicks a button with <code>text</code> of the value attribute.
+      * 
+      * @param text
+      *            the text of the button (contents of the value attribute).
+      */
+     public abstract void clickButtonWithText(String buttonValueText);
+ 
+     
+     
+     /**
       * Clicks a radio option.  Asserts that the radio option exists first.    
 
       * 



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to