robmayhew / fest

Automatically exported from code.google.com/p/fest
0 stars 0 forks source link

JCheckBoxMenuItemFixture #264

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

Basically I need #check and #uncheck from JCheckBoxFixture.

It would be nice to implement a JRadioButtonMenuItemFixture too.
I don't know if it's possible, because I can't find how to query the state
of a JToggleButton.

Thanks,
Csabi

Original issue reported on code.google.com by csaba.ju...@gmail.com on 16 Dec 2008 at 3:57

GoogleCodeExporter commented 9 years ago
You can call component on both check-box and radio-button. They have methods to 
query
state and check/uncheck.

Original comment by arip...@gmail.com on 16 Dec 2008 at 6:43

GoogleCodeExporter commented 9 years ago
Hi Csabi,

It is possible. I think there is a method 'select(boolean)' and 'isSelected'
inherited from AbstractButton.

Original comment by Alex.Rui...@gmail.com on 16 Dec 2008 at 6:50

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Issue migrated to https://kenai.com/jira/browse/FEST-27

Original comment by Alex.Rui...@gmail.com on 15 Feb 2009 at 7:04

GoogleCodeExporter commented 9 years ago
Issue migrated to http://jira.codehaus.org/browse/FEST-28

Original comment by Alex.Rui...@gmail.com on 4 Mar 2009 at 1:33