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

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