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.

Aspectj5rtModuleTests.java 1.1KB

123456789101112131415161718192021222324252627282930313233
  1. package org.aspectj.runtime;
  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:
  11. * Wes Isberg initial implementation
  12. * ******************************************************************/
  13. // default package
  14. import org.aspectj.testing.util.TestUtil;
  15. import junit.framework.Test;
  16. import junit.framework.TestCase;
  17. import junit.framework.TestSuite;
  18. public class Aspectj5rtModuleTests extends TestCase {
  19. public static Test suite() {
  20. TestSuite suite = new TestSuite("Aspectj5rt module tests");
  21. if (TestUtil.is15VMOrGreater()) {
  22. TestUtil.loadTestsReflectively(suite, "Aspectj5rt15ModuleTests", true);
  23. } else {
  24. suite.addTest(TestUtil.skipTest("for aspectj5rt that need 1.5"));
  25. }
  26. return suite;
  27. }
  28. }