1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 08:46:02 +02:00

Add master test suite for conveniently running all junit3 tests in CDT

This commit is contained in:
John Cortell 2012-08-16 14:09:00 -05:00
parent b7f9c91e31
commit 7909c3d9da

View file

@ -0,0 +1,32 @@
package org.eclipse.cdt.alltests;
import junit.framework.Test;
import junit.framework.TestSuite;
/**
* Container for all the junit3 tests in CDT
*
* Keep in mind that some of these tests require that a GNU toolchain be in
* PATH. (I.e., on Windows, make sure you have MinGW or Cygwin)
*/
public class AllTests extends TestSuite {
public static Test suite() throws Exception {
final AllTests suite = new AllTests();
suite.addTest(org.eclipse.cdt.autotools.tests.AllAutotoolsTests.suite()); // Works with MinGW but not Cygwin
suite.addTest(org.eclipse.cdt.codan.core.test.AutomatedIntegrationSuite.suite());
suite.addTest(org.eclipse.cdt.codan.core.test.AutomatedIntegrationSuite.suite());
suite.addTest(org.eclipse.cdt.core.lrparser.tests.LRParserTestSuite.suite());
suite.addTest(org.eclipse.cdt.core.lrparser.tests.LRParserTestSuite.suite());
suite.addTest(org.eclipse.cdt.core.parser.upc.tests.UPCParserTestSuite.suite());
suite.addTest(org.eclipse.cdt.core.parser.xlc.tests.suite.XlcTestSuite.suite());
suite.addTest(org.eclipse.cdt.core.suite.AutomatedIntegrationSuite.suite());
suite.addTest(org.eclipse.cdt.debug.core.tests.AllDebugTests.suite());
suite.addTest(org.eclipse.cdt.errorparsers.xlc.tests.AllXlcErrorParserTests.suite());
suite.addTest(org.eclipse.cdt.make.core.tests.AutomatedIntegrationSuite.suite());
suite.addTest(org.eclipse.cdt.managedbuilder.tests.suite.AllManagedBuildTests.suite());
suite.addTest(org.eclipse.cdt.managedbuilder.ui.tests.suite.AllManagedBuildUITests.suite());
suite.addTest(org.eclipse.cdt.testsrunner.test.TestsRunnerSuite.suite());
suite.addTest(org.eclipse.cdt.ui.tests.AutomatedSuite.suite());
return suite;
}
}