Extend FormTester to easily handle CheckBox components.
-------------------------------------------------------
Key: WICKET-1893
URL: https://issues.apache.org/jira/browse/WICKET-1893
Project: Wicket
Issue Type: Improvement
Components: wicket
Affects Versions: 1.3.5, 1.3.6, 1.4-M4, 1.5-M1
Reporter: Minto van der Sluis
Priority: Minor
Add methods to the FormTester to support unittesting CheckBox.
The following methods could be added:
public boolean getCheckBoxComponentValue(java.lang.String id);
public void setValue(java.lang.String formComponentId, boolean value);
When the given component ID is not a CheckBox (or one of its subclasses) then
these methods could/should throw an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.