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.

Ajc153Tests.java 3.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*******************************************************************************
  2. * Copyright (c) 2006 IBM
  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.ajc153;
  12. import java.io.File;
  13. import junit.framework.Test;
  14. import org.aspectj.testing.Utils;
  15. import org.aspectj.testing.XMLBasedAjcTestCase;
  16. public class Ajc153Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
  17. // public void testArgnamesAndJavac_pr148381() { runTest("argNames and javac");}
  18. // public void testCFlowXMLAspectLTW_pr149096() { runTest("cflow xml concrete aspect"); }
  19. public void testGenericInheritanceDecp_pr150095() { runTest("generics, inheritance and decp");}
  20. public void testIllegalStateException_pr148737() { runTest("illegalstateexception for non generic type");}
  21. public void testAtajInheritance_pr149305_1() { runTest("ataj inheritance - 1");}
  22. public void testAtajInheritance_pr149305_2() { runTest("ataj inheritance - 2");}
  23. public void testAtajInheritance_pr149305_3() { runTest("ataj inheritance - 3");}
  24. public void testVerificationFailureForAspectOf_pr148693() {
  25. runTest("verification problem"); // build the code
  26. Utils.verifyClass(ajc,"mypackage.MyAspect"); // verify it <<< BRAND NEW VERIFY UTILITY FOR EVERYONE TO TRY ;)
  27. }
  28. public void testIncorrectAnnotationValue_pr148537() { runTest("incorrect annotation value");}
  29. public void testVerifyErrNoTypeCflowField_pr145693_1() { runTest("verifyErrNoTypeCflowField"); }
  30. public void testVerifyErrInpathNoTypeCflowField_pr145693_2() { runTest("verifyErrInpathNoTypeCflowField"); }
  31. public void testCpathNoTypeCflowField_pr145693_3() { runTest("cpathNoTypeCflowField"); }
  32. // public void testVisibilityProblem_pr149071() { runTest("visibility problem");}
  33. // public void testAdviceNotWovenAspectPath_pr147841() { runTest("advice not woven on aspectpath");}
  34. public void testGenericSignatures_pr148409() { runTest("generic signature problem"); }
  35. // public void testBrokenIfArgsCflowAtAj_pr145018() { runTest("ataj crashing with cflow, if and args");}
  36. public void testCantFindType_pr149322_01() {runTest("can't find type on interface call 1");}
  37. public void testCantFindType_pr149322_02() {runTest("can't find type on interface call 2");}
  38. public void testCantFindType_pr149322_03() {runTest("can't find type on interface call 3");}
  39. /////////////////////////////////////////
  40. public static Test suite() {
  41. return XMLBasedAjcTestCase.loadSuite(Ajc153Tests.class);
  42. }
  43. protected File getSpecFile() {
  44. return new File("../tests/src/org/aspectj/systemtest/ajc153/ajc153.xml");
  45. }
  46. }