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.

ajc187.xml 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
  2. <suite>
  3. <ajc-test dir="bugs187/476245" title="compile error">
  4. <compile files="Testing.java" options="-1.8"/>
  5. </ajc-test>
  6. <ajc-test dir="bugs187/307147" title="missing joinpoint">
  7. <compile files="Test.java TestAspect.aj ITDAspect.aj" options="-1.8"/>
  8. <run class="test.Test">
  9. <stdout>
  10. <line text="Around call(void test.Test.function())"/>
  11. <line text="Normal function"/>
  12. <line text="Around call(void test.Test.privateMethod())"/>
  13. <line text="private method"/>
  14. <line text="Around call(void test.Test.publicMethod())"/>
  15. <line text="public method"/>
  16. <line text="Around call(void test.Test.itdFunction())"/>
  17. <line text="ITD function"/>
  18. <line text="Around call(void test.Test.privateMethod())"/>
  19. <line text="private method"/>
  20. <line text="Around call(void test.Test.publicMethod())"/>
  21. <line text="public method"/>
  22. </stdout></run>
  23. </ajc-test>
  24. <ajc-test dir="bugs187/307147_2" title="missing joinpoint 2">
  25. <compile files="Test.java TestAspect.aj ITDAspect.aj" options="-1.8"/>
  26. <run class="test.Test">
  27. <stdout>
  28. <line text="ITD function"/>
  29. <line text="Around call(void test.Test.privateMethod(String))"/>
  30. <line text="Captured Foo"/>
  31. <line text="hello FOO"/>
  32. </stdout></run>
  33. </ajc-test>
  34. <ajc-test dir="bugs187/475152" title="infinite loop">
  35. <compile files="AbstractAspect.aj, BaseAspect.aj, TestClass.java, AjTarget.java, TestAspect.aj" options="-1.8"/>
  36. </ajc-test>
  37. <ajc-test dir="bugs187/469889" title="broken java">
  38. <!--
  39. <compile files="A.java B.java AbstractA.java BImpl.java Main.java" options="-1.8"/>
  40. -->
  41. <compile files="Code.java" options="-1.8"/>
  42. <run class="Code">
  43. <stdout>
  44. <line text="B"/>
  45. </stdout>
  46. </run>
  47. </ajc-test>
  48. <ajc-test dir="bugs187/470633" title="lambda">
  49. <compile files="Maps.java" options="-1.8"/>
  50. </ajc-test>
  51. <ajc-test dir="bugs187/474165" title="anno conversion">
  52. <compile files="B.java" options="-XhasMember -1.8 -showWeaveInfo">
  53. <message kind="weave" text="Extending interface set for type 'B' (B.java) to include 'java.io.Serializable' (B.java)"/>
  54. </compile>
  55. <run class="B"/>
  56. </ajc-test>
  57. </suite>