Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 08da06ea72204e0a1aa951c3413ed2ef51b370f9 (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
/*******************************************************************************
 * Copyright (c) 2002, 2005 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 Rational Software - Initial API and implementation
 *******************************************************************************/
package org.eclipse.cdt.core.parser.tests;

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

import org.eclipse.cdt.core.model.tests.CModelElementsTests;
import org.eclipse.cdt.core.model.tests.StructuralCModelElementsTests;
import org.eclipse.cdt.core.parser.tests.ast2.DOMGCCParserExtensionTestSuite;
import org.eclipse.cdt.core.parser.tests.ast2.DOMParserTestSuite;
import org.eclipse.cdt.core.parser.tests.scanner2.IncludeTest;
import org.eclipse.cdt.core.parser.tests.scanner2.ObjectMapTest;
import org.eclipse.cdt.core.parser.tests.scanner2.Scanner2Test;

/**
 * @author jcamelon
 *
 * To change the template for this generated type comment go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
public class ParserTestSuite extends TestCase {
	public static Test suite() { 
		TestSuite suite= new TestSuite(ParserTestSuite.class.getName());
		suite.addTestSuite(Scanner2Test.class );
		suite.addTestSuite(QuickParseASTTests.class);
		suite.addTestSuite(ParserSymbolTableTest.class);
		suite.addTestSuite(ParserSymbolTableTemplateTests.class );
		suite.addTestSuite(CModelElementsTests.class);
		suite.addTestSuite(StructuralCModelElementsTests.class);
		suite.addTestSuite(CompletionParseTest.class);
		suite.addTestSuite(QuickParseProblemTests.class);
//		suite.addTestSuite(MacroTests.class);
		suite.addTestSuite( PreprocessorConditionalTest.class );
		suite.addTestSuite( QuickParseASTQualifiedNameTest.class);
		suite.addTestSuite( CompleteParseASTTest.class );
		suite.addTestSuite( CompleteParseProblemTest.class );
		suite.addTestSuite( SelectionParseTest.class );
		suite.addTestSuite( CompleteParseASTExpressionTest.class );
		suite.addTestSuite( CompleteParseASTSymbolIteratorTest.class );
		suite.addTestSuite( CompleteParseASTTemplateTest.class );
		suite.addTestSuite( StructuralParseTest.class );
		suite.addTestSuite( ObjectMapTest.class );
		suite.addTest( CompleteParsePluginTest.suite() );
		suite.addTest( IScannerInfoPluginTest.suite() );
		suite.addTestSuite( IncludeTest.class );
		suite.addTest( ScannerParserLoopTest.suite() );
		suite.addTest( GCCParserExtensionTestSuite.suite() );
		suite.addTest( DOMParserTestSuite.suite() );
		suite.addTest( DOMGCCParserExtensionTestSuite.suite() );
		return suite;
	}	
}

Back to the top