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.

jdtlikehandleprovider.xml 8.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
  2. <!-- AspectJ v1.5.2 Tests -->
  3. <suite>
  4. <ajc-test dir="features153/jdtlikehandleprovider" title="More than one named pointcut">
  5. <compile files="HandleProvider.aj" options="-emacssym"/>
  6. </ajc-test>
  7. <ajc-test dir="features153/jdtlikehandleprovider" title="aspect handle">
  8. <compile files="A1.aj" options="-emacssym"/>
  9. </ajc-test>
  10. <ajc-test dir="features153/jdtlikehandleprovider" title="advice handle">
  11. <compile files="A2.aj" options="-emacssym"/>
  12. </ajc-test>
  13. <ajc-test dir="features153/jdtlikehandleprovider" title="pointcut handle">
  14. <compile files="A4.aj" options="-emacssym"/>
  15. </ajc-test>
  16. <ajc-test dir="features153/jdtlikehandleprovider" title="get IProgramElement with aspect handle">
  17. <compile files="A1.aj" options="-emacssym"/>
  18. </ajc-test>
  19. <ajc-test dir="features153/jdtlikehandleprovider" title="advice handle with crosscutting">
  20. <compile files="A3.aj" options="-emacssym"/>
  21. </ajc-test>
  22. <ajc-test dir="features153/jdtlikehandleprovider" title="two pieces of advice with the same signature and pointcut">
  23. <compile files="A5.aj" options="-emacssym"/>
  24. </ajc-test>
  25. <ajc-test dir="features153/jdtlikehandleprovider" title="pointcut handle with args">
  26. <compile files="A6.aj" options="-emacssym"/>
  27. </ajc-test>
  28. <ajc-test dir="features153/jdtlikehandleprovider" title="declare parents handle">
  29. <compile files="A7.aj" options="-emacssym"/>
  30. </ajc-test>
  31. <ajc-test dir="features153/jdtlikehandleprovider" title="two declare parents in same file">
  32. <compile files="A7.aj" options="-emacssym"/>
  33. </ajc-test>
  34. <ajc-test dir="features153/jdtlikehandleprovider" title="advice handle with args">
  35. <compile files="A8.aj" options="-emacssym"/>
  36. </ajc-test>
  37. <ajc-test dir="features153/jdtlikehandleprovider" title="field itd handle">
  38. <compile files="A9.aj" options="-emacssym"/>
  39. </ajc-test>
  40. <ajc-test dir="features153/jdtlikehandleprovider" title="method itd handle">
  41. <compile files="A9.aj" options="-emacssym"/>
  42. </ajc-test>
  43. <ajc-test dir="features153/jdtlikehandleprovider" title="method itd with args handle">
  44. <compile files="A9.aj" options="-emacssym"/>
  45. </ajc-test>
  46. <ajc-test dir="features153/jdtlikehandleprovider" title="constructor itd with args">
  47. <compile files="A13.aj" options="-emacssym">
  48. <message kind="warning" text="inter-type constructor"/>
  49. </compile>
  50. </ajc-test>
  51. <ajc-test dir="features153/jdtlikehandleprovider" title="method call handle">
  52. <compile files="A10.aj" options="-emacssym"/>
  53. </ajc-test>
  54. <ajc-test dir="features153/jdtlikehandleprovider" title="declare warning handle">
  55. <compile files="A11.aj" options="-emacssym">
  56. <message kind="warning" text="blah"/>
  57. <message kind="warning" text="Illegal call"/>
  58. </compile>
  59. </ajc-test>
  60. <ajc-test dir="features153/jdtlikehandleprovider" title="two declare warning handles">
  61. <compile files="A11.aj" options="-emacssym">
  62. <message kind="warning" text="blah"/>
  63. <message kind="warning" text="Illegal call"/>
  64. </compile>
  65. </ajc-test>
  66. <ajc-test dir="features153/jdtlikehandleprovider" title="ten declare warning handles">
  67. <compile files="DeclareWarnings.aj" options="-emacssym">
  68. <message kind="warning" text="warning 1"/>
  69. <message kind="warning" text="warning 2"/>
  70. <message kind="warning" text="warning 3"/>
  71. <message kind="warning" text="warning 4"/>
  72. <message kind="warning" text="warning 5"/>
  73. <message kind="warning" text="warning 6"/>
  74. <message kind="warning" text="warning 7"/>
  75. <message kind="warning" text="warning 8"/>
  76. <message kind="warning" text="warning 9"/>
  77. <message kind="warning" text="warning 10"/>
  78. </compile>
  79. </ajc-test>
  80. <ajc-test dir="features153/jdtlikehandleprovider" title="declare @type">
  81. <compile files="A12.aj" options="-emacssym -1.5"/>
  82. </ajc-test>
  83. <ajc-test dir="features153/jdtlikehandleprovider" title="declare @field">
  84. <compile files="A12.aj" options="-emacssym -1.5"/>
  85. </ajc-test>
  86. <ajc-test dir="features153/jdtlikehandleprovider" title="declare @method">
  87. <compile files="A12.aj" options="-emacssym -1.5"/>
  88. </ajc-test>
  89. <ajc-test dir="features153/jdtlikehandleprovider" title="declare @constructor">
  90. <compile files="A12.aj" options="-emacssym -1.5"/>
  91. </ajc-test>
  92. <!-- tests to ensure handle provider produces same as the jdt -->
  93. <ajc-test dir="features153/jdtlikehandleprovider" title="compilation unit same as jdt">
  94. <compile files="Demo.java" options="-emacssym"/>
  95. </ajc-test>
  96. <ajc-test dir="features153/jdtlikehandleprovider" title="class same as jdt">
  97. <compile files="C.java" options="-emacssym"/>
  98. </ajc-test>
  99. <ajc-test dir="features153/jdtlikehandleprovider" title="interface same as jdt">
  100. <compile files="C.java" options="-emacssym"/>
  101. </ajc-test>
  102. <ajc-test dir="features153/jdtlikehandleprovider" title="constructor same as jdt">
  103. <compile files="C.java" options="-emacssym"/>
  104. </ajc-test>
  105. <ajc-test dir="features153/jdtlikehandleprovider" title="constructor with args same as jdt">
  106. <compile files="C.java" options="-emacssym"/>
  107. </ajc-test>
  108. <!-- <ajc-test dir="features153/jdtlikehandleprovider" title="package declaration same as jdt">
  109. <compile files="Demo.java" options="-emacssym"/>
  110. </ajc-test>
  111. -->
  112. <ajc-test dir="features153/jdtlikehandleprovider" title="import declaration same as jdt">
  113. <compile files="Demo.java" options="-emacssym"/>
  114. </ajc-test>
  115. <ajc-test dir="features153/jdtlikehandleprovider" title="type same as jdt">
  116. <compile files="Demo.java" options="-emacssym"/>
  117. </ajc-test>
  118. <ajc-test dir="features153/jdtlikehandleprovider" title="field same as jdt">
  119. <compile files="Demo.java" options="-emacssym"/>
  120. </ajc-test>
  121. <ajc-test dir="features153/jdtlikehandleprovider" title="initialization same as jdt">
  122. <compile files="Demo.java" options="-emacssym"/>
  123. </ajc-test>
  124. <ajc-test dir="features153/jdtlikehandleprovider" title="method with string array as argument same as jdt">
  125. <compile files="Demo.java" options="-emacssym"/>
  126. </ajc-test>
  127. <ajc-test dir="features153/jdtlikehandleprovider" title="method with int array as argument same as jdt">
  128. <compile files="Demo.java" options="-emacssym"/>
  129. </ajc-test>
  130. <ajc-test dir="features153/jdtlikehandleprovider" title="method with no args same as jdt">
  131. <compile files="Demo.java" options="-emacssym"/>
  132. </ajc-test>
  133. <ajc-test dir="features153/jdtlikehandleprovider" title="method with two args same as jdt">
  134. <compile files="Demo.java" options="-emacssym"/>
  135. </ajc-test>
  136. <ajc-test dir="features153/jdtlikehandleprovider" title="method with two string args same as jdt">
  137. <compile files="Demo.java" options="-emacssym"/>
  138. </ajc-test>
  139. <ajc-test dir="features153/jdtlikehandleprovider" title="enum same as jdt">
  140. <compile files="E.java" options="-emacssym -1.5"/>
  141. </ajc-test>
  142. <ajc-test dir="features153/jdtlikehandleprovider" title="enum value same as jdt">
  143. <compile files="E.java" options="-emacssym -1.5"/>
  144. </ajc-test>
  145. <ajc-test dir="features153/jdtlikehandleprovider" title="annotation same as jdt">
  146. <compile files="MyAnnotation.java" options="-emacssym -1.5"/>
  147. </ajc-test>
  148. <ajc-test dir="features153/jdtlikehandleprovider" title="method with list arg same as jdt">
  149. <compile files="Java5Class.java" options="-emacssym -1.5"/>
  150. </ajc-test>
  151. <ajc-test dir="features153/jdtlikehandleprovider" title="method with generic arg same as jdt">
  152. <compile files="Java5Class.java" options="-emacssym -1.5"/>
  153. </ajc-test>
  154. <ajc-test dir="features153/jdtlikehandleprovider" title="method with two generic args same as jdt">
  155. <compile files="Java5Class.java" options="-emacssym -1.5"/>
  156. </ajc-test>
  157. <ajc-test dir="features153/jdtlikehandleprovider" title="method with two type parameters same as jdt">
  158. <compile files="Java5Class.java" options="-emacssym -1.5"/>
  159. </ajc-test>
  160. <ajc-test dir="features153/jdtlikehandleprovider" title="method with two args one of which is generic same as jdt">
  161. <compile files="Java5Class.java" options="-emacssym -1.5"/>
  162. </ajc-test>
  163. </suite>