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.3KB

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