| jacareto.test.Test jacareto.test.JComponentTest jacareto.test.AbstractButtonTest jacareto.test.JMenuItemTest jacareto.test.JRadioButtonMenuItemTest
JRadioButtonMenuItemTest | public class JRadioButtonMenuItemTest extends JMenuItemTest (Code) | | Test class for testing java.swing.JRadioButtonMenuItem components. The following
criteria are tested by this class:
-
is selected - testes if the radio button menu item is selected
author: uak version: 1.0 |
Constructor Summary | |
public | JRadioButtonMenuItemTest(Environment env, String componentName, boolean isIgnoring, boolean isCorrecting, boolean hasFocus, boolean isEnabled, String buttonText, boolean isArmed, boolean isSelected) Creates a new test with the specified values. | public | JRadioButtonMenuItemTest(Environment env, Components components, Component component) Creates a new test with the values of the given component and default values.
Parameters: env - the environment. Parameters: components - the components instance Parameters: component - the component to test. | public | JRadioButtonMenuItemTest() Creates a new test with default values and no environment. |
JRadioButtonMenuItemTest | public JRadioButtonMenuItemTest(Environment env, String componentName, boolean isIgnoring, boolean isCorrecting, boolean hasFocus, boolean isEnabled, String buttonText, boolean isArmed, boolean isSelected)(Code) | | Creates a new test with the specified values.
Parameters: env - env the environment Parameters: componentName - the name of the component Parameters: isIgnoring - if the test result should be ignored Parameters: isCorrecting - if the values of the component should be corrected when the test hasfailed Parameters: hasFocus - if the component has the focus Parameters: isEnabled - if the component is set enabled Parameters: buttonText - the text on the button Parameters: isArmed - if the the component is "armed" Parameters: isSelected - if the the component is selected |
JRadioButtonMenuItemTest | public JRadioButtonMenuItemTest(Environment env, Components components, Component component)(Code) | | Creates a new test with the values of the given component and default values.
Parameters: env - the environment. Parameters: components - the components instance Parameters: component - the component to test. Must be of typejavax.swing.JRadioButtonMenuItem . |
isSelected | public boolean isSelected()(Code) | | DOCUMENT ME!
true if the tested radio button menu item is expected to be selected,if not false . |
setSelected | public void setSelected(boolean b)(Code) | | DOCUMENT ME!
Parameters: b - whether the tested radio button menu item is expected to be selected |
|
|