You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Nick Pratt (JIRA)" <ji...@apache.org> on 2013/01/18 19:24:14 UTC
[jira] [Created] (WICKET-4992) FormTester checks on concrete
classes prevent alternate SingleChoice selection methods
Nick Pratt created WICKET-4992:
----------------------------------
Summary: FormTester checks on concrete classes prevent alternate SingleChoice selection methods
Key: WICKET-4992
URL: https://issues.apache.org/jira/browse/WICKET-4992
Project: Wicket
Issue Type: New Feature
Reporter: Nick Pratt
Is there any reason we couldnt alter lines 300-301 of FormTester:
if (formComponent instanceof RadioGroup || formComponent instanceof DropDownChoice ||
formComponent instanceof RadioChoice)
to also include:
|| formComponent instanceOf AbstractSingleSelectChoice
This would allow me to unit test derived and alternate singleselectchoice components that have different layouts than provided by the stock RadioChoice components.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira