1
/*******************************************************************************
2
* Copyright (c) 2005 IBM Corporation and others.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* IBM Corporation - initial API and implementation
10
*******************************************************************************/
11
package org.eclipse.cdt.ui.testplugin.util;
14
import java.util.ArrayList;
18
* Interface to describe a visual test pass for a dialog test.
20
public interface IDialogTestPass {
22
* @return String The title of the test pass.
24
public String title();
26
* @return String The description of the test pass.
28
public String description();
30
* @return String The label of the test pass to be used
31
* in a selection list. The return includes an '&'
32
* if a mnemonic is desired.
34
public String label();
36
* @return ArrayList A list of items to appear in a checklist.
37
* The items in the list must be Strings and should include an
38
* '&' if a mnemonic is desired.
40
public ArrayList checkListTexts();
42
* @return String[] Associated failure messages that correspond
43
* to the checklist items. The size of this array should be the
44
* same size as the checklist.
46
public String[] failureTexts();
48
* @return String The test that corresponds to the test pass to
49
* which the tester will respond with a 'yes' or 'no'.
51
public String queryText();
53
* @return int A unique number that identifies the test pass.