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.

designtest.xml 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <ajc-test dir="design/intro"
  2. title="initial tests for new introduction style" keywords="from-design">
  3. <compile files="Simple.java"/>
  4. <run class="Simple"/>
  5. </ajc-test>
  6. <ajc-test dir="design/intro"
  7. title="overriding of introduced methods and accessibility"
  8. keywords="from-design">
  9. <compile files="Overriding.java"/>
  10. <run class="Overriding"/>
  11. </ajc-test>
  12. <ajc-test dir="design/intro"
  13. title="within and introductions behaves correctly" keywords="from-design">
  14. <compile files="Within.java"/>
  15. <run class="Within"/>
  16. </ajc-test>
  17. <ajc-test dir="design/intro" pr="570"
  18. title="correct inheritance of multiple concrete methods"
  19. keywords="from-design">
  20. <compile files="MultiInheritCP.java"/>
  21. <run class="MultiInheritCP"/>
  22. </ajc-test>
  23. <ajc-test dir="design/intro" pr="570"
  24. title="errors in inheritance of multiple concrete methods"
  25. keywords="from-design">
  26. <compile files="MultiInheritCF.java">
  27. <!-- the error is: error at java\lang\Object.java::0 can't override int I2.toString() with java.lang.String java.lang.Object.toString() return types don't match-->
  28. <message kind="error" line="0"/>
  29. <message kind="error" line="17"/>
  30. <message kind="error" line="18"/>
  31. <message kind="error" line="21"/>
  32. <message kind="error" line="41"/>
  33. <message kind="error" line="42"/>
  34. <message kind="error" line="43"/>
  35. <message kind="error" line="45"/>
  36. <message kind="error" line="46"/>
  37. </compile>
  38. </ajc-test>
  39. <ajc-test dir="design/intro"
  40. title="declared exceptions are checked correctly on intros (errors)">
  41. <compile files="ExceptionsCF.java">
  42. <message kind="error" line="8"/>
  43. <message kind="error" line="23"/>
  44. </compile>
  45. </ajc-test>
  46. <ajc-test dir="design/intro"
  47. title="declared exceptions are checked correctly on intros">
  48. <compile files="ExceptionsCP.java">
  49. </compile>
  50. <run class="ExceptionsCP"/>
  51. </ajc-test>
  52. <ajc-test dir="design/reflect"
  53. title="Joinpoint is not created for foo(String) when before() advice is present."
  54. keywords="from-design">
  55. <compile files="SimpleAround1.java"/>
  56. <run class="SimpleAround1"/>
  57. </ajc-test>
  58. <ajc-test dir="design/eachobject"
  59. title="more tests of eachobject with some difficult typing issues"
  60. keywords="from-design">
  61. <compile files="Tricky3.java"/>
  62. <run class="Tricky3"/>
  63. </ajc-test>
  64. <ajc-test dir="design/eachobject"
  65. title="eachobject: eachobject(receptions(...)) [eachobject]"
  66. keywords="from-design">
  67. <compile files="Tricky1.java"/>
  68. <run class="Tricky1"/>
  69. </ajc-test>
  70. <ajc-test dir="design/reflect" title="Checking new joinpoints"
  71. keywords="from-design">
  72. <compile files="Coverage.java" options="-Xlint:ignore"/>
  73. <run class="Coverage"/>
  74. </ajc-test>
  75. <ajc-test dir="design/eachobject"
  76. title="eachobject: simple test [eachobject] (still)"
  77. keywords="from-design">
  78. <compile files="Simple.java"/>
  79. <run class="Simple"/>
  80. </ajc-test>
  81. <ajc-test dir="design/intro"
  82. title="scope issues with introduction (needs more work)"
  83. keywords="from-design">
  84. <compile files="p1/ScopeIssues.java,p1/C1.java"/>
  85. <run class="p1.ScopeIssues"/>
  86. </ajc-test>
  87. <!-- uncomment this test if we decide to implement 42743
  88. <ajc-test dir="design/soft" pr="42743"
  89. title="declare soft limitation">
  90. <compile files="DeclareSoft.aj"/>
  91. <run class="DeclareSoft"/>
  92. </ajc-test>
  93. -->