diff options
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/testplugin/util/FocusTestPass.java')
-rw-r--r-- | core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/testplugin/util/FocusTestPass.java | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/testplugin/util/FocusTestPass.java b/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/testplugin/util/FocusTestPass.java deleted file mode 100644 index 0f83e03c1c2..00000000000 --- a/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/testplugin/util/FocusTestPass.java +++ /dev/null @@ -1,68 +0,0 @@ -package org.eclipse.cdt.testplugin.util; - - -/* - * (c) Copyright IBM Corp. 2000, 2001. - * All Rights Reserved. - */ - -import java.util.ArrayList; - - -/* - * This test pass verifies the initial focus of a dialog - * when it is given focus. - */ -public class FocusTestPass implements IDialogTestPass { - private static final int CHECKLIST_SIZE = 1; - - - /** - * @see IDialogTestPass#title() - */ - public String title() { - return "Test Pass: Initial Focus"; - } - /** - * @see IDialogTestPass#description() - */ - public String description() { - return "Verify the initial focus of the dialogs."; - } - /** - * @see IDialogTestPass#label() - */ - public String label() { - return "&Initial Focus"; - } - /** - * @see IDialogTestPass#checkListTexts() - */ - public ArrayList checkListTexts() { - ArrayList list = new ArrayList(CHECKLIST_SIZE); - list.add("&1) the initial focus is appropriate."); - return list; - } - /** - * @see IDialogTestPass#failureTexts() - * Size of the return array must be the same size as the checkListTexts' - * ArrayList. - */ - public String[] failureTexts() { - String[] failureText = new String[CHECKLIST_SIZE]; - failureText[0] = "The initial focus is inappropriate."; - return failureText; - } - /** - * @see IDialogTestPass#queryText() - */ - public String queryText() { - return "Is the initial focus of the dialog correct?"; - } - /** - * @see IDialogTestPass#getID() - */ - public int getID() { - return VerifyDialog.TEST_FOCUS; - } -}
\ No newline at end of file |