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.

BcweaverModuleTests15.java 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package org.aspectj.weaver;
  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. * Adrian Colyer Initial implementation
  12. * ******************************************************************/
  13. import junit.framework.Test;
  14. import junit.framework.TestCase;
  15. import junit.framework.TestSuite;
  16. import org.aspectj.testing.util.TestUtil;
  17. import org.aspectj.util.LangUtil;
  18. import org.aspectj.weaver.bcel.BcelGenericSignatureToTypeXTestCase;
  19. import org.aspectj.weaver.patterns.WildTypePatternResolutionTestCase;
  20. public class BcweaverModuleTests15 extends TestCase {
  21. public static Test suite() {
  22. TestSuite suite = new TestSuite(BcweaverModuleTests15.class.getName());
  23. suite.addTestSuite(TypeVariableTestCase.class);
  24. suite.addTestSuite(ReferenceTypeTestCase.class);
  25. suite.addTestSuite(BoundedReferenceTypeTestCase.class);
  26. suite.addTestSuite(TypeVariableReferenceTypeTestCase.class);
  27. suite.addTestSuite(MemberTestCase15.class);
  28. suite.addTestSuite(BcelGenericSignatureToTypeXTestCase.class);
  29. suite.addTestSuite(WildTypePatternResolutionTestCase.class);
  30. if (LangUtil.is15VMOrGreater()) {
  31. TestUtil.loadTestsReflectively(suite, "org.aspectj.weaver.tools.Java15PointcutExpressionTest", false);
  32. TestUtil.loadTestsReflectively(suite, "org.aspectj.weaver.TestJava5ReflectionBasedReferenceTypeDelegate", false);
  33. }
  34. return suite;
  35. }
  36. public BcweaverModuleTests15(String name) { super(name); }
  37. }