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.

ajc171.xml 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
  2. <suite>
  3. <ajc-test dir="bugs171/pr384401" title="npe">
  4. <compile files="X.java" options="-1.5">
  5. <message kind="error" line="9" text="the advice annotation must specify a pointcut value"/>
  6. </compile>
  7. </ajc-test>
  8. <ajc-test dir="bugs171/pr387444" title="soft 17">
  9. <compile files="Code.java" options="-1.7"/>
  10. </ajc-test>
  11. <ajc-test dir="bugs171/pr387444" title="soft 17 2">
  12. <compile files="Code2.java" options="-1.7"/>
  13. <run class="Code2">
  14. <stdout>
  15. <line text="foo"/>
  16. </stdout>
  17. </run>
  18. </ajc-test>
  19. <ajc-test dir="bugs171/pr387568" title="unresolvable enum">
  20. <compile files="Color.java Code.java" options="-1.5"/>
  21. </ajc-test>
  22. <ajc-test dir="bugs171/pr386049" title="itd abstract">
  23. <compile files="de/scrum_master/galileo/filter/BasicFilter.java de/scrum_master/galileo/filter/JsoupFilter.java de/scrum_master/galileo/LoggingAspect.aj" options="-1.5"/>
  24. <run class="de.scrum_master.galileo.filter.JsoupFilter">
  25. <stdout>
  26. <line text="JsoupFilter.getLogMessage()"/>
  27. <line text="run()"/>
  28. </stdout>
  29. </run>
  30. </ajc-test>
  31. <ajc-test dir="bugs171/pr73507" title="public ITDfs - 1">
  32. <compile files="Case1.java" options="-1.5"/>
  33. <run class="Case1">
  34. <stdout>
  35. <line text="Found a field called i"/>
  36. </stdout>
  37. </run>
  38. </ajc-test>
  39. <ajc-test dir="bugs171/pr73507" title="public ITDfs - 2">
  40. <compile files="Case2.java" options="-1.5"/>
  41. <run class="Case2">
  42. <stdout>
  43. <line text="Value of C.i is 1"/>
  44. </stdout>
  45. </run>
  46. </ajc-test>
  47. <ajc-test dir="bugs171/pr73507" title="public ITDfs - 3">
  48. <compile files="Case3.java" options="-1.5"/>
  49. <run class="Case3">
  50. <stdout>
  51. <line text="Value of C.i is 1"/>
  52. <line text="Value of C.j is 1"/>
  53. <line text="Value of C.k is 5"/>
  54. <line text="Value of I.i is 1"/>
  55. <line text="Value of I.j is 1"/>
  56. </stdout>
  57. </run>
  58. </ajc-test>
  59. <ajc-test dir="bugs171/pr73507" title="public ITDfs - 4">
  60. <compile files="Case4.java" options="-1.5">
  61. <message kind="error" line="13" text="can't override java.lang.String I.i with int C.i return types don't match"/>
  62. </compile>
  63. </ajc-test>
  64. <ajc-test dir="bugs171/pr73507" title="public ITDfs - 5">
  65. <compile files="Case5.java" options="-1.5"/>
  66. <run class="Case5">
  67. <stdout>
  68. <line text="public java.lang.String C.str"/>
  69. </stdout>
  70. </run>
  71. </ajc-test>
  72. <ajc-test dir="bugs171/pr384398" title="generics itds">
  73. <compile files="A.java B.java BAspect.aj" options="-1.5">
  74. <!--
  75. <message kind="weave" text="Join point 'constructor-call(void java.util.LinkedList.&lt;init&gt;())' in Type 'Foo' (Foo.java:41) advised by around advice from 'Bar' (Foo.java:14)"/>
  76. -->
  77. </compile>
  78. <!--
  79. <run class="Foo">
  80. <stdout>
  81. <line text="superaspect getNumber returns -2"/>
  82. <line text="Bar.method() running"/>
  83. <line text="abstract method returns []"/>
  84. </stdout>
  85. </run> -->
  86. </ajc-test>
  87. <ajc-test dir="bugs171/pr384398_2" title="generics itds 2">
  88. <compile files="A.java B.java BAspect.aj" options="-1.5">
  89. <!--
  90. <message kind="weave" text="Join point 'constructor-call(void java.util.LinkedList.&lt;init&gt;())' in Type 'Foo' (Foo.java:41) advised by around advice from 'Bar' (Foo.java:14)"/>
  91. -->
  92. </compile>
  93. <!--
  94. <run class="Foo">
  95. <stdout>
  96. <line text="superaspect getNumber returns -2"/>
  97. <line text="Bar.method() running"/>
  98. <line text="abstract method returns []"/>
  99. </stdout>
  100. </run> -->
  101. </ajc-test>
  102. </suite>