You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AllTestsAspectJ196.java 1008B

12345678910111213141516171819202122232425262728293031
  1. /*******************************************************************************
  2. * Copyright (c) 2020 Contributors
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * http://www.eclipse.org/legal/epl-v10.html
  7. *******************************************************************************/
  8. package org.aspectj.systemtest.ajc196;
  9. import org.aspectj.util.LangUtil;
  10. import junit.framework.Test;
  11. import junit.framework.TestSuite;
  12. /**
  13. * @author Andy Clement
  14. */
  15. public class AllTestsAspectJ196 {
  16. public static Test suite() {
  17. TestSuite suite = new TestSuite("AspectJ 1.9.6 tests");
  18. if (LangUtil.is14VMOrGreater()) {
  19. suite.addTest(Ajc196Tests.suite());
  20. suite.addTest(SanityTestsJava14.suite());
  21. }
  22. if (LangUtil.is14VMOrGreater() && !LangUtil.is15VMOrGreater()) {
  23. suite.addTest(Ajc196PreviewFeaturesTests.suite());
  24. }
  25. return suite;
  26. }
  27. }