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.

Loadtime5ModuleTests.java 1.2KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*******************************************************************************
  2. * Copyright (c) 2005 Contributors.
  3. * All rights reserved.
  4. * This program and the accompanying materials are made available
  5. * under the terms of the Eclipse Public License v1.0
  6. * which accompanies this distribution and is available at
  7. * http://eclipse.org/legal/epl-v10.html
  8. *
  9. * Contributors: (See CVS logs)
  10. *
  11. *******************************************************************************/
  12. import org.aspectj.testing.util.TestUtil;
  13. import junit.framework.Test;
  14. import junit.framework.TestCase;
  15. import junit.framework.TestSuite;
  16. /**
  17. */
  18. public class Loadtime5ModuleTests extends TestCase {
  19. public static Test suite() {
  20. TestSuite suite = new TestSuite(Loadtime5ModuleTests.class.getName());
  21. if (TestUtil.is15VMOrGreater()) {
  22. TestUtil.loadTestsReflectively(suite, "Loadtime515ModuleTests", true);
  23. } else {
  24. suite.addTest(TestUtil.testNamed("all tests require 1.5"));
  25. }
  26. return suite;
  27. }
  28. public static void main(String[] args) {
  29. junit.textui.TestRunner.main(new String[] {Loadtime5ModuleTests.class.getName()});
  30. }
  31. }