aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/java/org/aspectj/systemtest/ajc150/AllTestsAspectJ150.java
blob: e3eb1af31738e9386ee77278d88bcc97f3aa9357 (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
/*******************************************************************************
 * Copyright (c) 2004 IBM
 * 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
 *
 * Contributors:
 *    Andy Clement - initial API and implementation
 *******************************************************************************/
package org.aspectj.systemtest.ajc150;

import org.aspectj.systemtest.ajc150.ataspectj.AtAjLTWTests;
import org.aspectj.systemtest.ajc150.ataspectj.AtAjMisuseTests;
import org.aspectj.systemtest.ajc150.ataspectj.AtAjSyntaxTests;
import org.aspectj.systemtest.ajc150.ltw.LTWServerTests;
import org.aspectj.systemtest.ajc150.ltw.LTWTests;

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

/**
 * This pulls together tests we have written for AspectJ 1.5.0 that don't need Java 1.5 to run
 */
public class AllTestsAspectJ150 {

	public static Test suite() {
		TestSuite suite = new TestSuite("AspectJ1.5.0 tests");
		// $JUnit-BEGIN$
		suite.addTestSuite(MigrationTests.class);
		suite.addTest(Ajc150Tests.suite());
		suite.addTestSuite(SCCSFixTests.class);

		suite.addTest(AccBridgeMethods.suite());
		suite.addTestSuite(CovarianceTests.class);
		suite.addTestSuite(Enums.class);
		suite.addTest(AnnotationsBinaryWeaving.suite());
		suite.addTest(AnnotationPointcutsTests.suite());
		suite.addTestSuite(VarargsTests.class);
		suite.addTestSuite(StaticImports.class);
		suite.addTest(AnnotationRuntimeTests.suite());
		suite.addTestSuite(PerTypeWithinTests.class);

		suite.addTest(Autoboxing.suite());
		suite.addTest(Annotations.suite());
		suite.addTest(AnnotationBinding.suite());
		suite.addTest(RuntimeAnnotations.suite());

		suite.addTest(SuppressedWarnings.suite());
		suite.addTest(DeclareAnnotationTests.suite());
		suite.addTest(GenericsTests.suite());
		suite.addTest(GenericITDsDesign.suite());
		suite.addTest(AtAjSyntaxTests.suite());
		suite.addTest(AtAjMisuseTests.suite());
		suite.addTest(AtAjLTWTests.suite());
		suite.addTest(HasMember.suite());

		suite.addTestSuite(LTWTests.class);
		suite.addTestSuite(LTWServerTests.class);
		// $JUnit-END$
		return suite;
	}
}