blob: 32e95c06bb6b4b2888a097026aa04cd2e8e3ba89 (
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
|
/*******************************************************************************
* Copyright (c) 2020 Contributors
* 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
*******************************************************************************/
package org.aspectj.systemtest.ajc196;
import org.aspectj.util.LangUtil;
import junit.framework.Test;
import junit.framework.TestSuite;
/**
* @author Andy Clement
*/
public class AllTestsAspectJ196 {
public static Test suite() {
TestSuite suite = new TestSuite("AspectJ 1.9.6 tests");
if (LangUtil.is14VMOrGreater()) {
suite.addTest(Ajc196Tests.suite());
suite.addTest(SanityTestsJava14.suite());
}
// Do not run tests using a previous compiler's preview features anymore. They would all fail.
/*
if (LangUtil.is14VMOrGreater() && !LangUtil.is15VMOrGreater()) {
suite.addTest(Ajc196PreviewFeaturesTests.suite());
}
*/
return suite;
}
}
|