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.

TestsModuleTests.java 1.1KB

123456789101112131415161718192021222324252627282930313233343536
  1. package org.aspectj.tests;
  2. import org.aspectj.systemtest.AllTests18;
  3. import org.aspectj.systemtest.AllTests19;
  4. import org.aspectj.util.LangUtil;
  5. /* *******************************************************************
  6. * Copyright (c) 2005 Contributors.
  7. * All rights reserved.
  8. * This program and the accompanying materials are made available
  9. * under the terms of the Eclipse Public License v1.0
  10. * which accompanies this distribution and is available at
  11. * http://eclipse.org/legal/epl-v10.html
  12. *
  13. * Contributors:
  14. * Wes Isberg initial implementation
  15. * ******************************************************************/
  16. import junit.framework.Test;
  17. import junit.framework.TestCase;
  18. import junit.framework.TestSuite;
  19. public class TestsModuleTests extends TestCase {
  20. public static Test suite() {
  21. String name = TestsModuleTests.class.getName();
  22. TestSuite suite = new TestSuite(name);
  23. // compiler tests, wrapped for JUnit
  24. if (LangUtil.is9VMOrGreater()) {
  25. suite.addTest(AllTests19.suite());
  26. } else {
  27. suite.addTest(AllTests18.suite());
  28. }
  29. return suite;
  30. }
  31. }