| jacareto.test.Test jacareto.test.JComponentTest jacareto.test.JListTest
JListTest | public class JListTest extends JComponentTest (Code) | | Test class for testing java.swing.JList components. The following criteria are
tested by this class:
-
selected indices - testes if the selected indices of the tested list are correct
author: Christoph Sauer |
Constructor Summary | |
public | JListTest(Environment env, String componentName, boolean isIgnoring, boolean isCorrecting, boolean hasFocus, boolean isEnabled, String selectedIndicesParam) Creates a new test with the specified values. | public | JListTest(Environment env, Components components, Component component) Creates a new test with the values of the given component and default values. | public | JListTest() Creates a new test with default values and no environment. |
JListTest | public JListTest(Environment env, String componentName, boolean isIgnoring, boolean isCorrecting, boolean hasFocus, boolean isEnabled, String selectedIndicesParam)(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: selectedIndicesParam - the selected indices as comma seperated values |
JListTest | public JListTest(Environment env, Components components, Component component)(Code) | | Creates a new test with the values of the given component and default values. The target
text is not a regular expression
Parameters: env - the environment. Parameters: components - the components instance Parameters: component - the component to test. Must be of type javax.swing.JList . |
getTargetSelectedIndicesString | public String getTargetSelectedIndicesString()(Code) | | DOCUMENT ME!
the expected selected indices string. |
setTargetSelectedIndicesString | public void setTargetSelectedIndicesString(String selectedIndicesParam)(Code) | | Specifies the expected selected indices string. This string must only contain comma
serperated integers.
Parameters: selectedIndicesParam - DOCUMENT ME! |
|
|