public class ComboDialogTester extends AbstractSWTTester
ComboDialog
.Constructor and Description |
---|
ComboDialogTester() |
Modifier and Type | Method and Description |
---|---|
void |
beforeEachTest()
Sets up the
allowedValues . |
void |
checkDefaults()
Checks the default appearance for
|
void |
checkEditableCombo()
Checks that if the read-only flag is set to false, the combo's style is
editable.
|
void |
checkGetValueEditable()
Checks that the value is
null if cancelled, otherwise it should
be the selected value from the combo. |
void |
checkGetValueReadOnly()
Checks that the value is
null if cancelled, otherwise it should
be the selected value from the combo. |
void |
checkInitialValue()
Checks that the combo's initial value is set properly.
|
void |
checkOKDisabledOnOpen()
Checks that the OK button is initially disabled under the following
circumstances:
the combo is read-only and has no allowed values
the combo is editable and has an invalid initial value
|
void |
checkReadOnlyCombo()
Checks that if the read-only flag is set to true, the combo's style is
read only.
|
void |
checkSetAllowedValues()
Checks that setting the allowed values properly updates the contents of
the underlying combo widget.
|
void |
checkSetInfoLabelText()
Checks that the info label's text can be changed from the default as well
as the associated method's return value.
|
void |
checkSetTitle()
Checks that the title can be changed from the default as well as the
associated method's return value.
|
void |
checkValidateTextCalled()
Checks that the validate operation is actually called when validating the
text, so that sub-classes may override its behavior.
|
afterAllTests, afterEachTest, beforeAllTests
afterClass, beforeClass
assertContains, assertDoesNotContain, assertEnabled, assertMatchesRegex, assertMatchesRegex, assertMatchesRegex, assertNotEnabled, assertNotSameWidget, assertNotSameWidget, assertNotVisible, assertSameWidget, assertSameWidget, assertText, assertText, assertTextContains, assertTextContains, assertTextDoesNotContain, assertTextDoesNotContain, assertVisible, captureScreenshot, pass, runBare
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, setName, toString
public void beforeEachTest()
allowedValues
.beforeEachTest
in class AbstractSWTTester
public void checkDefaults()
public void checkSetTitle()
public void checkSetInfoLabelText()
public void checkSetAllowedValues()
public void checkEditableCombo()
public void checkReadOnlyCombo()
public void checkGetValueEditable()
null
if cancelled, otherwise it should
be the selected value from the combo.public void checkGetValueReadOnly()
null
if cancelled, otherwise it should
be the selected value from the combo.public void checkValidateTextCalled()
public void checkOKDisabledOnOpen()
public void checkInitialValue()