Skip to main content
summaryrefslogtreecommitdiffstats
blob: 033768cb0527259e4e815432b984e1391d9503af (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
/*******************************************************************************
 * Copyright (c) 2009 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.cdt.core.parser.xlc.tests.base;



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

public class XlcLRParserTestSuite extends TestSuite {
	
	// TODO: the following test are not being reused
	//
	// DOMGCCSelectionParseExtensionsTest
	// DOMSelectionParseTest
	// GCCCompleteParseExtensionsTest
	// QuickParser2Tests
	//
	// and perhaps others
	
	public static Test suite() {
		return new TestSuite() {{
		
			addTest(XlcLRCommentTests.suite());
			addTest(XlcLRCompleteParser2Tests.suite());
			addTest(XlcLRCompletionBasicTest.suite());	
			addTest(XlcLRCompletionParseTest.suite());
			addTest(XlcLRCPPSpecTest.suite());
			addTest(XlcLRCPPTests.suite()); 
			addTest(XlcLRCSpecTests.suite()); // a couple of failures
			addTest(XlcLRDigraphTrigraphTests.suite());
			addTest(XlcLRDOMLocationInclusionTests.suite());
			addTest(XlcLRDOMLocationMacroTests.suite());
			addTest(XlcLRDOMLocationTests.suite());
			addTest(XlcLRDOMPreprocessorInformationTest.suite());
			addTest(XlcLRGCCTests.suite());
			addTest(XlcLRGCCCompleteParseExtensionsTest.suite());
			addTest(XlcLRImageLocationTests.suite());
			addTest(XlcLRKnRTests.suite()); // mostly fail due to ambiguities
			addTest(XlcLRNodeSelectorTest.suite());
			addTest(XlcLRQuickParser2Tests.suite());
			addTest(XlcLRSelectionParseTest.suite()); // this one still has a lot of failing tests though
			addTest(XlcLRSemanticsTests.suite());
			addTest(XlcLRTaskParserTest.suite());
			addTest(XlcLRTemplateTests.suite());
			addTest(XlcLRTests.suite()); // has some tests that do fail
			addTest(XlcLRUtilOldTests.suite());
			addTest(XlcLRUtilTests.suite());
			//addTest(XlcLRCPPImplicitNameTests.suite());
			//addTest(LRInactiveCodeTests.suite());

		}};
	}	
}

Back to the top