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.

Ajc190Tests.java 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*******************************************************************************
  2. * Copyright (c) 2016 Contributors
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v 2.0
  5. * which accompanies this distribution, and is available at
  6. * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
  7. *
  8. * Contributors:
  9. * Andy Clement - initial API and implementation
  10. *******************************************************************************/
  11. package org.aspectj.systemtest.ajc190;
  12. import junit.framework.Test;
  13. import org.aspectj.testing.JavaVersionSpecificXMLBasedAjcTestCase;
  14. import org.aspectj.testing.XMLBasedAjcTestCase;
  15. /**
  16. * @author Andy Clement
  17. */
  18. public class Ajc190Tests extends JavaVersionSpecificXMLBasedAjcTestCase {
  19. public Ajc190Tests() {
  20. super(9);
  21. }
  22. public void testParamAnnosNegative() {
  23. runTest("param annos negative");
  24. }
  25. public void testAnnotMethodHasMember_pr156962_1() { // From similar in Ajc153Tests
  26. runTest("Test Annot Method Has Member 1");
  27. }
  28. public void testAnnotMethodHasMember_pr156962_2() { // From similar in Ajc153Tests
  29. runTest("Test Annot Method Has Member 1");
  30. }
  31. public void testFunnySignature() {
  32. runTest("funny signature with method reference");
  33. }
  34. // Weave a module with code that isn't in a module
  35. public void testWeaveModule() throws Exception {
  36. runTest("weave module");
  37. }
  38. // ---
  39. public static Test suite() {
  40. return XMLBasedAjcTestCase.loadSuite(Ajc190Tests.class);
  41. }
  42. @Override
  43. protected java.net.URL getSpecFile() {
  44. return getClassResource("ajc190.xml");
  45. }
  46. }