Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 7513c785999ac7a950315ec9d48d9a5f118e8f46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
package org.eclipse.cdt.ui.tests;
/*
 * (c) Copyright IBM Corp. 2000, 2001.
 * All Rights Reserved.
 */


import junit.framework.Test;
import junit.framework.TestSuite;

import org.eclipse.cdt.ui.tests.text.PartitionTokenScannerTest;
import org.eclipse.cdt.ui.tests.text.contentassist.*;
import org.eclipse.cdt.ui.tests.text.contentassist.failedtests.*;
import org.eclipse.cdt.ui.tests.textmanipulation.TextBufferTest;



/**
 * Test all areas of the UI.
 */
public class AutomatedSuite extends TestSuite {

	/**
	 * Returns the suite.  This is required to
	 * use the JUnit Launcher.
	 */
	public static Test suite() {
		return new AutomatedSuite();
	}

	/**
	 * Construct the test suite.
	 */
	public AutomatedSuite() {
		
		// Success Tests
		addTest(PartitionTokenScannerTest.suite());
		addTest(TextBufferTest.suite());
		// completion tests
		addTest(CompletionTest_FieldType_Prefix.suite());
		addTest(CompletionTest_FieldType_NoPrefix.suite());
		addTest(CompletionTest_FieldType_NoPrefix2.suite());
		addTest(CompletionTest_VariableType_Prefix.suite());
		addTest(CompletionTest_VariableType_NoPrefix.suite());
		addTest(CompletionTest_StatementStart_Prefix.suite());
		addTest(CompletionTest_StatementStart_NoPrefix.suite());
		addTest(CompletionTest_SingleName_Prefix.suite());
		addTest(CompletionTest_SingleName_Prefix2.suite());
		addTest(CompletionTest_SingleName_NoPrefix.suite());
		addTest(CompletionTest_MemberReference_Dot_Prefix.suite());
		addTest(CompletionTest_MemberReference_Dot_NoPrefix.suite());
		addTest(CompletionTest_MemberReference_Arrow_Prefix.suite());
		addTest(CompletionTest_MemberReference_Arrow_Prefix2.suite());
		addTest(CompletionTest_MemberReference_Arrow_NoPrefix.suite());
		
		// Failed Tests
		addTest(CompletionFailedTest_ScopedReference_NoPrefix_Bug50152.suite());
		addTest(CompletionFailedTest_ScopedReference_Prefix_Bug50152.suite());
		addTest(CompletionFailedTest_NamespaceRef_NoPrefix_Bug50471.suite());		
		addTest(CompletionFailedTest_NamespaceRef_Prefix_Bug50471.suite());		
		addTest(CompletionFailedTest_MacroRef_NoPrefix_Bug50487.suite());		
		addTest(CompletionFailedTest_MacroRef_Prefix_Bug50487.suite());		
	}
	
}

Back to the top