AllTestsAspectJ193.java
/*******************************************************************************
* Copyright (c) 2018-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
*
* Contributors:
* Andy Clement - initial API and implementation
*******************************************************************************/
package org.aspectj.systemtest.ajc193;
import junit.framework.Test;
import junit.framework.TestSuite;
import org.aspectj.util.LangUtil;
public class AllTestsAspectJ193 {
private static final int JAVA_VERSION = 12;
public static Test suite() {
TestSuite suite = new TestSuite("AspectJ 1.9.3 tests");
suite.addTest(Ajc193Tests.suite());
// suite.addTest(Java12Tests.suite());
if (LangUtil.isVMGreaterOrEqual(JAVA_VERSION)) {
suite.addTest(SanityTestsJava12.suite());
}
return suite;
}
}