Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

ajc1612.xml 2.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
  2. <suite>
  3. <ajc-test dir="bugs1612/pr339974" title="itit npe">
  4. <compile files="City.java TrafficCalculator.java" options="-1.5">
  5. <message kind="error" text="The nested type TrafficCalculator cannot hide an enclosing type"/>
  6. </compile>
  7. </ajc-test>
  8. <ajc-test dir="bugs1612/pr342605" title="noimporterror">
  9. <compile files="Code.java" options="-1.5 -noImportError"/>
  10. <run class="Code"/>
  11. </ajc-test>
  12. <ajc-test dir="bugs1612/pr342323" title="clashing local types">
  13. <compile files="Runner.java Bean.java Azpect.java" options="-1.5"/>
  14. <run class="ppp.Runner">
  15. <stdout>
  16. <line text="Calling regular method"/>
  17. <line text="class"/>
  18. <line text="Calling itd method"/>
  19. <line text="aspect foo"/>
  20. </stdout>
  21. </run>
  22. </ajc-test>
  23. <ajc-test dir="bugs1612/pr338175" title="itit">
  24. <compile files="pack1/Aspect.java pack2/Java.java pack2/Java2.java" options="-1.5">
  25. <message kind="error" text="Duplicate nested type ITIT"/>
  26. <message kind="error" text="can't determine modifiers"/>
  27. </compile>
  28. </ajc-test>
  29. <ajc-test dir="bugs1612/pr292239" title="throws clause">
  30. <compile files="Code.java" options="-1.5 -showWeaveInfo">
  31. <message kind="weave" text="Join point 'method-execution(void mypackage.Code.n())' in Type 'mypackage.Code' (Code.java:19) advised by afterThrowing advice from 'mypackage.Azpect' (Code.java:9)"/>
  32. </compile>
  33. <run class="mypackage.Code">
  34. <stdout>
  35. <line text="caught it"/>
  36. <line text="done"/>
  37. </stdout>
  38. </run>
  39. </ajc-test>
  40. <ajc-test dir="bugs1612/pr292239" title="throws clause - 2">
  41. <compile files="Code2.java" options="-1.5 -showWeaveInfo">
  42. <message kind="weave" text="Join point 'method-execution(void mypackage.Code2.n2())' in Type 'mypackage.Code2' (Code2.java:17) advised by afterThrowing advice from 'mypackage.Azpect' (Code2.java:7)"/>
  43. </compile>
  44. <run class="mypackage.Code2">
  45. <stdout>
  46. <line text="caught it: execution(void mypackage.Code2.n2())"/>
  47. <line text="done"/>
  48. </stdout>
  49. </run>
  50. </ajc-test>
  51. <!--
  52. <ajc-test dir="bugs1611/pr336136" title="itit">
  53. <compile files="Country_Roo_Op4j.java">
  54. <message kind="error" text="The import com.foo cannot be resolved" line="1"/>
  55. <message kind="error" text="The import org.javaruntype cannot be resolved" line="3"/>
  56. <message kind="error" text="The import org.op4j cannot be resolved" line="4"/>
  57. <message kind="error" text="The import org.op4j cannot be resolved" line="5"/>
  58. <message kind="error" text="Country cannot be resolved to a type" line="9"/>
  59. <message kind="error" text="Function cannot be resolved to a type" line="11"/>
  60. <message kind="error" text="can't determine modifiers of missing type Country_Roo_Op4j$Keys"/>
  61. </compile>"
  62. </ajc-test>
  63. -->
  64. </suite>