~ubuntu-branches/debian/sid/eclipse-cdt/sid

« back to all changes in this revision

Viewing changes to core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/testplugin/util/IDialogTestPass.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2011-10-06 21:15:04 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20111006211504-8dutmljjih0zikfv
Tags: 8.0.1-1
* New upstream release.
* Split the JNI packages into a separate architecture dependent
  package and made eclipse-cdt architecture independent.
* Install JNI libraries into multiarch aware location
* Bumped Standards-Version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
7
 *
 
8
 * Contributors:
 
9
 *     IBM Corporation - initial API and implementation
 
10
 *******************************************************************************/
 
11
package org.eclipse.cdt.ui.testplugin.util;
 
12
 
 
13
 
 
14
import java.util.ArrayList;
 
15
 
 
16
 
 
17
/*
 
18
 * Interface to describe a visual test pass for a dialog test.
 
19
 */
 
20
public interface IDialogTestPass {
 
21
        /*
 
22
         * @return String The title of the test pass.
 
23
         */
 
24
        public String title();
 
25
        /*
 
26
         * @return String The description of the test pass.
 
27
         */
 
28
        public String description();
 
29
        /*
 
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.
 
33
         */
 
34
        public String label();
 
35
        /*
 
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.
 
39
         */
 
40
        public ArrayList checkListTexts();
 
41
        /*
 
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.
 
45
         */
 
46
        public String[] failureTexts();
 
47
        /*
 
48
         * @return String The test that corresponds to the test pass to
 
49
         * which the tester will respond with a 'yes' or 'no'.
 
50
         */
 
51
        public String queryText();
 
52
        /*
 
53
         * @return int A unique number that identifies the test pass.
 
54
         */
 
55
        public int getID();
 
56
}
 
57
 
 
58