aboutsummaryrefslogtreecommitdiffstats
path: root/run-all-junit-tests/src/test/java/RunTheseBeforeYouCommitTests.java
blob: a696b71ba1102a5f094513615415697dd833068f (plain)
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
67
68
69
/* *******************************************************************
 * Copyright (c) 2005-2019 Contributors.
 * All rights reserved.
 * This program and the accompanying materials are made available
 * under the terms of the Eclipse Public License v 2.0
 * which accompanies this distribution and is available at
 * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
 *
 * ******************************************************************/
import org.aspectj.ajde.AjdeModuleTests;
import org.aspectj.ajde.core.AjdeCoreModuleTests;
import org.aspectj.ajdt.AjdtCoreModuleTests;
import org.aspectj.asm.AsmModuleTests;
import org.aspectj.bridge.BridgeModuleTests;
import org.aspectj.build.BuildModuleTests;
import org.aspectj.loadtime.LoadtimeModuleTests;
import org.aspectj.matcher.MatcherModuleTests;
import org.aspectj.runtime.RuntimeModuleTests;
import org.aspectj.testing.TestingClientModuleTests;
import org.aspectj.testing.TestingModuleTests;
import org.aspectj.testing.drivers.TestingDriversModuleTests;
import org.aspectj.testingutil.TestingUtilModuleTests;
import org.aspectj.tests.TestsModuleTests;
import org.aspectj.tools.ajdoc.AjdocModuleTests;
import org.aspectj.tools.ant.taskdefs.TaskdefsModuleTests;
import org.aspectj.util.UtilModuleTests;
import org.aspectj.weaver.WeaverModuleTests;

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

/**
 * @author Andy Clement
 */
public class RunTheseBeforeYouCommitTests {

	public static Test suite() {
        String name = RunTheseBeforeYouCommitTests.class.getName();
		TestSuite suite = new TestSuite(name);

		// Main modules
		suite.addTest(UtilModuleTests.suite());
		suite.addTest(AjdeCoreModuleTests.suite());
		suite.addTest(AjdeModuleTests.suite());
		suite.addTest(AsmModuleTests.suite());
		suite.addTest(BridgeModuleTests.suite());
		suite.addTest(LoadtimeModuleTests.suite());
		suite.addTest(RuntimeModuleTests.suite());
		suite.addTest(AjdocModuleTests.suite());
		suite.addTest(WeaverModuleTests.suite());
		suite.addTest(TaskdefsModuleTests.suite());
		suite.addTest(MatcherModuleTests.suite());
//		suite.addTest(AjbrowserModuleTests.suite()); // There are none so far...
//		suite.addTest(LibModuleTests.suite()); // anyone using this?
		suite.addTest(AjdtCoreModuleTests.suite());

		// Support modules
		suite.addTest(TestingModuleTests.suite());
		suite.addTest(TestingClientModuleTests.suite());
		suite.addTest(TestingDriversModuleTests.suite());
		suite.addTest(TestingUtilModuleTests.suite());
		suite.addTest(BuildModuleTests.suite());

		// Compiler tests
		suite.addTest(TestsModuleTests.suite());

		return suite;
	}
}