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.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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 v1.0
  5. * which accompanies this distribution, and is available at
  6. * http://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors:
  9. * Andy Clement - initial API and implementation
  10. *******************************************************************************/
  11. package org.aspectj.systemtest.ajc190;
  12. import java.io.File;
  13. import org.aspectj.testing.XMLBasedAjcTestCase;
  14. import junit.framework.Test;
  15. /**
  16. * @author Andy Clement
  17. */
  18. public class Ajc190Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
  19. public void testAnnotMethodHasMember_pr156962_1() { // From similar in Ajc153Tests
  20. runTest("Test Annot Method Has Member 1");
  21. }
  22. public void testAnnotMethodHasMember_pr156962_2() { // From similar in Ajc153Tests
  23. runTest("Test Annot Method Has Member 1");
  24. }
  25. public void testFunnySignature() {
  26. runTest("funny signature with method reference");
  27. }
  28. // Weave a module with code that isn't in a module
  29. public void testWeaveModule() throws Exception {
  30. runTest("weave module");
  31. }
  32. // ---
  33. public static Test suite() {
  34. return XMLBasedAjcTestCase.loadSuite(Ajc190Tests.class);
  35. }
  36. @Override
  37. protected File getSpecFile() {
  38. return getClassResource("ajc190.xml");
  39. }
  40. }