Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

ajc167.xml 5.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
  2. <suite>
  3. <ajc-test dir="bugs167/pr296533" title="generic aspect signatures">
  4. <compile files="testing/AbstractCache.aj testing/Resource.java testing/ResourceCache.aj testing/ResourceManager.java testing/TestRunner.java" options="-1.5"/>
  5. <run class="testing.TestRunner">
  6. <stdout>
  7. <line text="Cache hits: 5"/>
  8. <line text="Cache hits: 2"/>
  9. </stdout>
  10. </run>
  11. </ajc-test>
  12. <ajc-test dir="bugs167/pr296501" title="optimizing string anno value binding">
  13. <compile files="StringBinding.java" options="-1.5"/>
  14. <run class="StringBinding">
  15. <stdout>
  16. <line text="hello world"/>
  17. </stdout>
  18. </run>
  19. </ajc-test>
  20. <ajc-test dir="bugs167/pr296484" title="optimizing annotation binding">
  21. <compile files="AnnoBinding.java" options="-1.5"/>
  22. <run class="AnnoBinding"/>
  23. </ajc-test>
  24. <ajc-test dir="bugs167/pr296484" title="optimizing annotation binding - 2">
  25. <compile files="Perf.java" options="-1.5"/>
  26. <run class="Perf"/>
  27. </ajc-test>
  28. <ajc-test dir="bugs167/pr295092" title="perthis ltw">
  29. <compile files="AbstractAspect.aj" options="-1.5" outjar="aspects.jar"/>
  30. <compile files="Wibble.java"/>
  31. <run class="Wibble" ltw="aop.xml" classpath="aspects.jar"/>
  32. </ajc-test>
  33. <ajc-test dir="bugs167/pr296054" title="npe on broken code">
  34. <compile files="Demo.java AnnotAspect.aj" options="-1.5 -emacssym">
  35. <message kind="error" text="The value for"/>
  36. <message kind="error" text="cannot convert"/>
  37. </compile>
  38. </ajc-test>
  39. <ajc-test dir="bugs167/pr296040" title="broken generated code">
  40. <compile files="ErrorClass.java" options="-1.5" classpath="gc10rc4.jar"/>
  41. <run class="ErrorClass"/>
  42. </ajc-test>
  43. <ajc-test dir="bugs167/pr293457" title="hierarchy builder npe">
  44. <compile files="com/citi/gdos/smart/applib/service/cache/CachingIntroduction.aj org/springmodules/cache/annotations/Cacheable.java" options="-1.5 -emacssym">
  45. <message kind="warning" text="no match for this type name: Setter"/>
  46. <message kind="error" text="Setter cannot be resolved to a type"/>
  47. <message kind="error" text="The attribute modelId is undefined for the"/>
  48. </compile>
  49. </ajc-test>
  50. <ajc-test dir="features167/timers/one" title="timers - 1">
  51. <compile files="Code.java Code2.java" outjar="code.jar" options="-1.5 -Xlint:ignore"/>
  52. <compile files="Asp.java" options="-1.5 -Xlint:ignore" outjar="asp.jar"/>
  53. <run class="Code2" ltw="aop.xml" classpath="code.jar;asp.jar">
  54. <stderr>
  55. <line text="info AspectJ"/>
  56. <line text="info register"/>
  57. <line text="info using"/>
  58. <line text="info register"/>
  59. <line text="info Pointcut match"/>
  60. <line text="info Time"/>
  61. <line text="info ---"/>
  62. <line text="info processing"/>
  63. <line text="info Pointcut fast"/>
  64. <line text="info Time"/>
  65. <line text="info ---"/>
  66. </stderr>
  67. </run>
  68. </ajc-test>
  69. <ajc-test dir="features167/timers/one" title="timers - 2">
  70. <compile files="Code.java Code2.java Asp.java" options="-1.5 -timers -Xset:timersPerJoinpoint=8,timersPerFastMatchCall=3">
  71. <!-- <line text="info AspectJ"/>
  72. <line text="info register"/>
  73. <line text="info using"/>
  74. <line text="info register"/>
  75. <line text="info processing"/>
  76. <line text="info Pointcut fast"/>
  77. <line text="info Time"/>
  78. <line text="info -"/>
  79. <line text="info Pointcut match"/>
  80. <line text="info Time"/>
  81. <line text="info -"/>
  82. -->
  83. </compile>
  84. </ajc-test>
  85. <ajc-test dir="bugs167/pr293510" title="execution fastmatch - 1">
  86. <compile files="CaseOne.java" options="-1.5 -showWeaveInfo">
  87. <message kind="weave" text="Join point 'method-execution(void pkg.C.m())' in Type 'pkg.C' (CaseOne.java:10) advised by before advice from 'pkg.X' (CaseOne.java:14)"/>
  88. </compile>
  89. </ajc-test>
  90. <ajc-test dir="bugs167/pr293510" title="execution fastmatch - 2">
  91. <compile files="CaseTwo.java" options="-1.5 -showWeaveInfo">
  92. <message kind="weave" text="Join point 'method-execution(void pkg.C.m())' in Type 'pkg.C' (CaseTwo.java:9) advised by before advice from 'pkg.X' (CaseTwo.java:13)"/>
  93. </compile>
  94. </ajc-test>
  95. <ajc-test dir="bugs167/pr293203" title="anno matching">
  96. <compile files="Foo.java" options="-1.5"/>
  97. <run class="Foo">
  98. <stdout>
  99. <line text="advice"/>
  100. <line text="advice"/>
  101. <line text="advice"/>
  102. </stdout>
  103. </run>
  104. </ajc-test>
  105. <ajc-test dir="bugs167/pr288064" title="outer class names - scala">
  106. <compile files="Main.java Outer.java Aspect.java" options="-1.5"/>
  107. <run class="test.Main">
  108. <stdout>
  109. <line text="advice"/>
  110. <line text="method"/>
  111. </stdout>
  112. </run>
  113. </ajc-test>
  114. <ajc-test dir="bugs167/pr288064" title="outer class names - scala - ltw">
  115. <compile files="Main.java Outer.java" outjar="app.jar" options="-1.5"/>
  116. <compile files="Aspect.java" outjar="asp.jar" options="-Xlint:ignore -1.5"/>
  117. <run class="test.Main" classpath="app.jar;asp.jar" ltw="aop.xml">
  118. <stdout>
  119. <line text="advice"/>
  120. <line text="method"/>
  121. </stdout>
  122. </run>
  123. </ajc-test>
  124. </suite>