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.

features190.xml 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
  2. <suite>
  3. <ajc-test dir="features190/efficientTJP" title="tjp 1">
  4. <compile files="One.java" options="-1.8"/>
  5. <run class="One">
  6. <stdout>
  7. <line text="void One.main(String[])"/>
  8. <line text="One running"/>
  9. </stdout>
  10. </run>
  11. </ajc-test>
  12. <ajc-test dir="features190/efficientTJP" title="tjp 2">
  13. <compile files="Two.java" options="-Xajruntimetarget:1.9 -1.8"/>
  14. <run class="Two">
  15. <stdout>
  16. <line text="void Two.main(String[])"/>
  17. <line text="Two running"/>
  18. </stdout>
  19. </run>
  20. </ajc-test>
  21. <ajc-test dir="features190/efficientTJP" title="tjp 3">
  22. <compile files="Three.java" options="-Xajruntimetarget:1.9 -1.8"/>
  23. <run class="Three">
  24. <stdout>
  25. <line text="Three running"/>
  26. <line text="Three()"/>
  27. <line text="Three(String)"/>
  28. <line text="Three(int, String)"/>
  29. </stdout>
  30. </run>
  31. </ajc-test>
  32. <ajc-test dir="features190/efficientTJP" title="tjp 3a">
  33. <compile files="ThreeA.java" options="-Xajruntimetarget:1.9 -1.8"/>
  34. <run class="ThreeA">
  35. <stdout>
  36. <line text="ThreeA running"/>
  37. <line text="ThreeA()"/>
  38. <line text="ThreeA(String)"/>
  39. <line text="ThreeA(int, String)"/>
  40. </stdout>
  41. </run>
  42. </ajc-test>
  43. <ajc-test dir="features190/efficientTJP" title="tjp 4">
  44. <compile files="Four.java" options="-Xajruntimetarget:1.9 -1.8"/>
  45. <run class="Four">
  46. <stdout>
  47. <line text="run() running"/>
  48. <line text="catch(Throwable)"/>
  49. <line text="caught something"/>
  50. </stdout>
  51. </run>
  52. </ajc-test>
  53. <ajc-test dir="features190/efficientTJP" title="tjp 4a">
  54. <compile files="FourA.java" options="-Xajruntimetarget:1.9 -1.8"/>
  55. <run class="FourA">
  56. <stdout>
  57. <line text="run() running"/>
  58. <line text="void FourA.run()"/>
  59. <line text="caught something"/>
  60. </stdout>
  61. </run>
  62. </ajc-test>
  63. <ajc-test dir="features190/efficientTJP" title="tjp get fields">
  64. <compile files="Fields.java" options="-Xajruntimetarget:1.9 -1.8"/>
  65. <run class="Fields">
  66. <stdout>
  67. <line text="int Fields.a"/>
  68. <line text="String Fields.s"/>
  69. <line text="double Fields.d"/>
  70. <line text="Fields.Inner Fields.obj"/>
  71. <line text="short Fields.ps"/>
  72. <line text="float Fields.fs"/>
  73. <line text="long Fields.ls"/>
  74. <line text="byte Fields.bs"/>
  75. <line text="char Fields.cs"/>
  76. <line text="int Fields.as"/>
  77. <line text="String Fields.ss"/>
  78. <line text="double Fields.ds"/>
  79. <line text="Fields.Inner Fields.objs"/>
  80. </stdout>
  81. </run>
  82. </ajc-test>
  83. <ajc-test dir="features190/efficientTJP" title="tjp get fieldsE">
  84. <compile files="FieldsE.java" options="-Xajruntimetarget:1.9 -1.8"/>
  85. <run class="FieldsE">
  86. <stdout>
  87. <line text="void FieldsE.main(String[])"/>
  88. <line text="void FieldsE.main(String[])"/>
  89. <line text="void FieldsE.main(String[])"/>
  90. <line text="void FieldsE.main(String[])"/>
  91. <line text="void FieldsE.main(String[])"/>
  92. <line text="void FieldsE.main(String[])"/>
  93. <line text="void FieldsE.main(String[])"/>
  94. <line text="void FieldsE.main(String[])"/>
  95. <line text="void FieldsE.main(String[])"/>
  96. <line text="void FieldsE.main(String[])"/>
  97. <line text="void FieldsE.main(String[])"/>
  98. <line text="void FieldsE.main(String[])"/>
  99. <line text="void FieldsE.main(String[])"/>
  100. </stdout>
  101. </run>
  102. </ajc-test>
  103. <ajc-test dir="features190/efficientTJP" title="tjp set fields">
  104. <compile files="Fields2.java" options="-Xajruntimetarget:1.9 -1.8"/>
  105. <run class="Fields2">
  106. <stdout>
  107. <line text="int Fields2.a"/>
  108. <line text="short Fields2.ps"/>
  109. <line text="double Fields2.d"/>
  110. <line text="Fields2.Inner Fields2.obj"/>
  111. <line text="String Fields2.s"/>
  112. <line text="float Fields2.fs"/>
  113. <line text="long Fields2.ls"/>
  114. <line text="byte Fields2.bs"/>
  115. <line text="char Fields2.cs"/>
  116. </stdout>
  117. </run>
  118. </ajc-test>
  119. <ajc-test dir="features190/efficientTJP" title="tjp clinit">
  120. <compile files="Clinit.java" options="-Xajruntimetarget:1.9 -1.8"/>
  121. <run class="Clinit">
  122. <stdout>
  123. <line text="Clinit.&lt;clinit&gt;"/>
  124. <line text="Clinit.Inner.&lt;clinit&gt;"/>
  125. </stdout>
  126. </run>
  127. </ajc-test>
  128. <ajc-test dir="features190/efficientTJP" title="tejp clinit">
  129. <compile files="ClinitE.java" options="-Xajruntimetarget:1.9 -1.8"/>
  130. <run class="ClinitE">
  131. <stdout>
  132. <line text="ClinitE.&lt;clinit&gt;"/>
  133. <line text="ClinitE.Inner.&lt;clinit&gt;"/>
  134. </stdout>
  135. </run>
  136. </ajc-test>
  137. <ajc-test dir="features190/efficientTJP" title="tjp advice">
  138. <compile files="Advice.java" options="-Xajruntimetarget:1.9 -1.8"/>
  139. <run class="Advice">
  140. <stdout>
  141. <line text="tjp:void X.before()"/>
  142. <line text="tejp:void X.before()"/>
  143. </stdout>
  144. </run>
  145. </ajc-test>
  146. <ajc-test dir="features190/efficientTJP" title="tjp init">
  147. <compile files="Init.java" options="-Xajruntimetarget:1.9 -1.8"/>
  148. <run class="Init">
  149. <stdout>
  150. <line text="A()"/>
  151. <line text="A()"/>
  152. <line text="B()"/>
  153. <line text="B()"/>
  154. </stdout>
  155. </run>
  156. </ajc-test>
  157. </suite>