| jacareto.test.Test jacareto.test.JComponentTest jacareto.test.JLabelTest
JLabelTest | public class JLabelTest extends JComponentTest (Code) | | Test class for testing java.swing.JLabel components. The following criteria are
tested by this class:
-
label text - testes if the text on the tested label is correct
author: carola |
Constructor Summary | |
public | JLabelTest(Environment env, String componentName, boolean isIgnoring, boolean isCorrecting, boolean hasFocus, boolean isEnabled, String labelText) Creates a new test with the specified values. | public | JLabelTest(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 | JLabelTest() Creates a new test with default values and no environment. |
JLabelTest | public JLabelTest(Environment env, String componentName, boolean isIgnoring, boolean isCorrecting, boolean hasFocus, boolean isEnabled, String labelText)(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: labelText - the text on the label |
JLabelTest | public JLabelTest(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 type javax.swing.JLabel . |
getLabelText | public String getLabelText()(Code) | | DOCUMENT ME!
the expected text of the tested label |
setLabelText | public void setLabelText(String string)(Code) | | Specifies the expected text of the tested label
Parameters: string - DOCUMENT ME! |
|
|