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.

ajc1612.xml 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549
  1. <!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
  2. <suite>
  3. <ajc-test dir="bugs1612/prx" title="class reference in annotation value">
  4. <compile files="C.java" options="-1.5 -showWeaveInfo">
  5. <message kind="weave" text="Join point 'field-get(int C.i)' in Type 'C' (C.java:17) advised by before advice from 'X' (C.java:22)"/>
  6. </compile>
  7. <run class="C">
  8. </run>
  9. </ajc-test>
  10. <ajc-test dir="bugs1612/prx" title="annotation values not equal">
  11. <compile files="D.java" options="-1.5 -showWeaveInfo">
  12. <message kind="weave" text="Join point 'field-get(int D.i)' in Type 'D' (D.java:20) advised by before advice from 'X' (D.java:26)"/>
  13. <message kind="weave" text="Join point 'field-get(int D.j)' in Type 'D' (D.java:21) advised by before advice from 'X' (D.java:26)"/>
  14. </compile>
  15. <run class="D">
  16. </run>
  17. </ajc-test>
  18. <ajc-test dir="bugs1612/prx" title="class reference in annotation value 3">
  19. <compile files="E.java" options="-1.5 -showWeaveInfo">
  20. <message kind="weave" text="Join point 'field-get(int E.i)' in Type 'E' (E.java:17) advised by before advice from 'X' (E.java:22)"/>
  21. </compile>
  22. <run class="E">
  23. </run>
  24. </ajc-test>
  25. <ajc-test dir="bugs1612/prx" title="annotation values not equal 2">
  26. <compile files="F.java" options="-1.5 -showWeaveInfo">
  27. <message kind="weave" text="Join point 'field-get(int F.i)' in Type 'F' (F.java:20) advised by before advice from 'X' (F.java:26)"/>
  28. <message kind="weave" text="Join point 'field-get(int F.j)' in Type 'F' (F.java:21) advised by before advice from 'X' (F.java:26)"/>
  29. </compile>
  30. <run class="F">
  31. </run>
  32. </ajc-test>
  33. <ajc-test dir="bugs1612/prx" title="class reference in annotation value - invalid typename">
  34. <compile files="G.java" options="-1.5 -showWeaveInfo">
  35. <message kind="weave" text="Join point 'field-get(int C.i)' in Type 'C' (C.java:17) advised by before advice from 'X' (C.java:22)"/>
  36. </compile>
  37. </ajc-test>
  38. <ajc-test dir="bugs1612/pr356612" title="annotation field binding optimization">
  39. <compile files="AnnoBinding.java" options="-1.5"/>
  40. <run class="AnnoBinding">
  41. </run>
  42. </ajc-test>
  43. <ajc-test dir="bugs1612/pr356612" title="annotation field binding optimization - 2">
  44. <compile files="AnnoBinding2.java" options="-1.5"/>
  45. <run class="AnnoBinding2">
  46. <stdout>
  47. <line text="get(int AnnoBinding2.field1) @Marker(message=foo)"/>
  48. <line text="get(int AnnoBinding2.field2) @Marker(message=bar)"/>
  49. <line text="2 ajc$anno$NNN fields"/>
  50. </stdout>
  51. </run>
  52. </ajc-test>
  53. <ajc-test dir="bugs1612/pr354683" title="itd split compilation">
  54. <compile files="util/CommonData.java util/CommonDataImpl.java util/CommonDataImplementation.aj util/DerivedCommonDataInterface.java util/DerivedCommonDataInterfaceImpl.java util/DerivedCommonDataInterfaceImplementation.aj" options="-1.5" outjar="code.jar"/>
  55. <compile files="main/AbstractBaseClass.java main/DerivedClass.java main/Whatever.java " options="-1.5" aspectpath="code.jar"/>
  56. </ajc-test>
  57. <ajc-test dir="bugs1612/pr239649" title="thisAspectInstance - 1">
  58. <compile files="One.java" options="-1.5"/>
  59. <run class="One">
  60. <stdout>
  61. <line text="In instance check method doit()"/>
  62. <line text="In advice()"/>
  63. <line text="Method m() running"/>
  64. </stdout>
  65. </run>
  66. </ajc-test>
  67. <ajc-test dir="bugs1612/pr239649" title="thisAspectInstance - 2">
  68. <compile files="Two.java" options="-1.5"/>
  69. <run class="Two">
  70. <stdout>
  71. <line text="In instance check method, count=1 so doit returns false"/>
  72. <line text="Method m() running"/>
  73. <line text="In instance check method, count=2 so doit returns true"/>
  74. <line text="In advice()"/>
  75. <line text="Method m() running"/>
  76. <line text="In instance check method, count=3 so doit returns false"/>
  77. <line text="Method m() running"/>
  78. <line text="In instance check method, count=4 so doit returns true"/>
  79. <line text="In advice()"/>
  80. <line text="Method m() running"/>
  81. </stdout>
  82. </run>
  83. </ajc-test>
  84. <ajc-test dir="bugs1612/pr239649" title="thisAspectInstance - 3">
  85. <compile files="Three.java" options="-1.5"/>
  86. <run class="Three">
  87. <stdout>
  88. <line text="Method m() running"/>
  89. <line text="In instance check method, count=1 so doit returns false"/>
  90. <line text="Method m() running"/>
  91. <line text="In instance check method, count=2 so doit returns true"/>
  92. <line text="In advice()"/>
  93. <line text="Method m() running"/>
  94. <line text="In instance check method, count=3 so doit returns false"/>
  95. <line text="Method m() running"/>
  96. <line text="In instance check method, count=4 so doit returns true"/>
  97. <line text="In advice()"/>
  98. </stdout>
  99. </run>
  100. </ajc-test>
  101. <ajc-test dir="bugs1612/pr239649" title="thisAspectInstance - 4">
  102. <compile files="Four.java" options="-1.5"/>
  103. <run class="Four">
  104. <stdout>
  105. <line text="In instance check method doit()"/>
  106. <line text="In advice() execution(void Four.m())"/>
  107. <line text="Method m() running"/>
  108. </stdout>
  109. </run>
  110. </ajc-test>
  111. <ajc-test dir="bugs1612/pr239649" title="thisAspectInstance - 5">
  112. <compile files="Five.java" options="-1.5"/>
  113. <run class="Five">
  114. <stdout>
  115. <line text="In instance check method doit()"/>
  116. <line text="In advice() arg0=abc"/>
  117. <line text="Method m() running"/>
  118. </stdout>
  119. </run>
  120. </ajc-test>
  121. <ajc-test dir="bugs1612/pr239649" title="thisAspectInstance - 6">
  122. <compile files="Six.java" options="-1.5"/>
  123. <run class="Six">
  124. <stdout>
  125. <line text="In instance check method doit()"/>
  126. <line text="In advice() execution(void Six.main(String[]))"/>
  127. <line text="Method m() running"/>
  128. </stdout>
  129. </run>
  130. </ajc-test>
  131. <ajc-test dir="bugs1612/pr239649" title="thisAspectInstance - 7">
  132. <compile files="Seven.java" options="-1.5"/>
  133. <run class="Seven">
  134. <stdout>
  135. <line text="In instance check method doit()"/>
  136. <line text="In advice() call(void Seven.m()) execution(void Seven.main(String[]))"/>
  137. <line text="Method m() running"/>
  138. </stdout>
  139. </run>
  140. </ajc-test>
  141. <ajc-test dir="bugs1612/pr239649" title="thisAspectInstance - 8">
  142. <compile files="Eight.java" options="-1.5"/>
  143. <run class="Eight">
  144. <stdout>
  145. <line text="in doit(): class=X"/>
  146. <line text="In advice()"/>
  147. <line text="Method m() running"/>
  148. </stdout>
  149. </run>
  150. </ajc-test>
  151. <ajc-test dir="bugs1612/pr239649" title="thisAspectInstance - 9">
  152. <compile files="Nine.java" options="-1.5"/>
  153. <run class="Nine">
  154. <stdout>
  155. <line text="in doit(): class=X"/>
  156. <line text="In advice()"/>
  157. <line text="Method m() running"/>
  158. </stdout>
  159. </run>
  160. </ajc-test>
  161. <ajc-test dir="bugs1612/pr239649" title="thisAspectInstance - 10">
  162. <compile files="Ten.java" options="-1.5"/>
  163. <run class="com.foo.bar.Ten">
  164. <stdout>
  165. <line text="In instance check method doit() class=com.foo.bar.X"/>
  166. <line text="In advice()"/>
  167. <line text="Method m() running"/>
  168. </stdout>
  169. </run>
  170. </ajc-test>
  171. <ajc-test dir="bugs1612/pr239649" title="thisAspectInstance - 11">
  172. <compile files="Eleven.java" options="-1.5">
  173. <message kind="error" text="thisAspectInstance can only be used inside an if() clause for singleton aspects (compiler limitation)"/>
  174. </compile>
  175. </ajc-test>
  176. <ajc-test dir="bugs1612/pr239649" title="thisAspectInstance - 12">
  177. <compile files="Twelve.java" options="-1.5"/>
  178. <run class="Twelve">
  179. <stdout>
  180. <line text="In instance check method doit()"/>
  181. <line text="In advice() arg=abc tjpsp=execution(void Twelve.m(String))"/>
  182. <line text="Method m() running"/>
  183. </stdout>
  184. </run>
  185. </ajc-test>
  186. <ajc-test dir="bugs1612/pr239649" title="thisAspectInstance - 13">
  187. <compile files="Thirteen.java" options="-1.5"/>
  188. <run class="Thirteen">
  189. <stdout>
  190. <line text="instance is X"/>
  191. <line text="In advice() arg=abc tjpsp=execution(void Thirteen.m(String))"/>
  192. <line text="Method m() running"/>
  193. </stdout>
  194. </run>
  195. </ajc-test>
  196. <ajc-test dir="bugs1612/pr239649" title="thisAspectInstance - 14">
  197. <compile files="Fourteen.java" options="-1.5"/>
  198. <run class="Fourteen">
  199. <stdout>
  200. <line text="instance is X"/>
  201. <line text="In advice()"/>
  202. <line text="Method m() running"/>
  203. </stdout>
  204. </run>
  205. </ajc-test>
  206. <ajc-test dir="bugs1612/pr239649" title="thisAspectInstance - 15">
  207. <compile files="Fifteen.java" options="-1.5"/>
  208. <run class="Fifteen">
  209. <stdout>
  210. <line text="in doit(): class=X"/>
  211. <line text="In advice()"/>
  212. <line text="Method m() running"/>
  213. </stdout>
  214. </run>
  215. </ajc-test>
  216. <ajc-test dir="bugs1612/doubleITDF" title="double itdf">
  217. <compile files="A.java" options="-1.7"/>
  218. <run class="A">
  219. <stdout>
  220. <line text="AA"/>
  221. </stdout>
  222. </run>
  223. </ajc-test>
  224. <ajc-test dir="bugs1612/verify" title="verify perthis">
  225. <compile files="Runner.aj" inpath="code.jar" classpath="groovy-1.8.0.jar;asm-3.2.jar" options="-1.6 -Xset:generateStackMaps=true"/>
  226. <run class="Runner">
  227. <stdout>
  228. <line text="AA"/>
  229. </stdout>
  230. </run>
  231. </ajc-test>
  232. <ajc-test dir="bugs1612/pr353936" title="local variable tables">
  233. <compile files="Code.java" options="-1.5"/>
  234. </ajc-test>
  235. <ajc-test dir="bugs1612/pr352363" title="empty pattern">
  236. <compile files="Code.java" options="-1.5">
  237. <message line="12" kind="warning" text="name is empty1"/>
  238. <message line="13" kind="warning" text="name is empty2"/>
  239. </compile>
  240. </ajc-test>
  241. <ajc-test dir="bugs1612/pr351592" title="generics issue">
  242. <compile files="Test.java Fib.java FibCaching.aj Caching.aj" options="-1.5"/>
  243. <run class="caching.Test"/>
  244. </ajc-test>
  245. <ajc-test dir="bugs1612/pr351592" title="generics issue - 2">
  246. <compile files="Test.java Fib.java FibCaching.aj Caching.aj" options="-1.5"/>
  247. <run class="caching.Test"/>
  248. </ajc-test>
  249. <ajc-test dir="bugs1612/pr350800" title="generics npe">
  250. <compile files="AbstractAdapter.java AbstractProbingAspect.java Adapter.java ProbingAspect.java" options="-1.5"/>
  251. <!-- run class="com.example.MyAspectTest" -->
  252. </ajc-test>
  253. <ajc-test dir="bugs1612/pr350800_2" title="generics npe - code">
  254. <compile files="AbstractAdapter.java AbstractProbingAspect.java Adapter.java ProbingAspect.java" options="-1.5"/>
  255. <!-- run class="com.example.MyAspectTest" -->
  256. </ajc-test>
  257. <ajc-test dir="bugs1612/pr350800_3" title="generics npe - 3">
  258. <compile files="AbstractAdapter.java AbstractProbingAspect.java Adapter.java ProbingAspect.java" options="-1.5"/>
  259. <run class="test.aop.Adapter">
  260. <stdout>
  261. <line text="&gt;hello"/>
  262. </stdout>
  263. </run>
  264. </ajc-test>
  265. <ajc-test dir="bugs1612/pr349961" title="ordering">
  266. <compile files="MyParameterAnnotation.java MyAspect.java MyAspectTest.java A.java ABean.java" options="-1.5"/>
  267. <run class="com.example.MyAspectTest">
  268. </run>
  269. </ajc-test>
  270. <ajc-test dir="bugs1612/pr349961" title="ordering - 2">
  271. <compile files="MyParameterAnnotation.java MyAspect.java MyAspectTest.java ABean.java A.java" options="-1.5"/>
  272. <run class="com.example.MyAspectTest">
  273. </run>
  274. </ajc-test>
  275. <ajc-test dir="bugs1612/pr347395" title="verifyerror - inline">
  276. <compile files="Target.java Task.java TaskHistoryAspect.aj TaskModification.java" options="-1.5"/>
  277. <run class="xxx.util.Target">
  278. </run>
  279. </ajc-test>
  280. <ajc-test dir="bugs1612/pr349398" title="duplicate methods">
  281. <compile files="DataGenerator.java CacheAspect.java DataGeneratorCacheAspect.java DataGeneratorTest.java" options="-1.5"/>
  282. <run class="DataGeneratorTest">
  283. </run>
  284. </ajc-test>
  285. <ajc-test dir="bugs1612/pr347684" title="binding ints">
  286. <compile files="BindingInts.java" options="-1.5"/>
  287. <run class="BindingInts">
  288. <stdout>
  289. <line text="execution(void BindingInts.a()) 37"/>
  290. </stdout>
  291. </run>
  292. </ajc-test>
  293. <ajc-test dir="bugs1612/pr347684" title="binding ints - 2">
  294. <compile files="BindingInts2.java" options="-1.5"/>
  295. <run class="BindingInts2">
  296. <stdout>
  297. <line text="execution(void BindingInts2.a()) 99"/>
  298. </stdout>
  299. </run>
  300. </ajc-test>
  301. <ajc-test dir="bugs1612/pr347684" title="binding ints - 3">
  302. <compile files="BindingInts3.java" options="-1.5"/>
  303. <run class="BindingInts3">
  304. <stdout>
  305. <line text="execution(void BindingInts3.a()) abc"/>
  306. </stdout>
  307. </run>
  308. </ajc-test>
  309. <ajc-test dir="bugs1612/pr347684" title="binding ints - 4">
  310. <compile files="BindingInts4.java" options="-1.5"/>
  311. <run class="BindingInts4">
  312. <stdout>
  313. <line text="execution(void BindingInts4.a()) 37 48"/>
  314. </stdout>
  315. </run>
  316. </ajc-test>
  317. <ajc-test dir="bugs1612/pr347684" title="binding ints - 5">
  318. <compile files="BindingInts5.java" options="-1.5"/>
  319. <run class="BindingInts5">
  320. <stdout>
  321. <line text="execution(void BindingInts5.a()) 37"/>
  322. </stdout>
  323. </run>
  324. </ajc-test>
  325. <ajc-test dir="bugs1612/pr347684" title="binding ints - 6">
  326. <compile files="BindingInts6.java" options="-1.5"/>
  327. <run class="BindingInts6">
  328. <stdout>
  329. <line text="execution(void BindingInts6.a()) 37 1 99"/>
  330. </stdout>
  331. </run>
  332. </ajc-test>
  333. <ajc-test dir="bugs1612/pr345515" title="anno copying">
  334. <compile files="Code.java" options="-1.5"/>
  335. <run class="Code"></run>
  336. </ajc-test>
  337. <ajc-test dir="bugs1612/pr327867" title="synthetic methods">
  338. <compile files="Foo.java" options="-1.5 -showWeaveInfo">
  339. <message kind="weave" text="Join point 'method-execution(void Foo.main(java.lang.String[]))' in Type 'Foo' (Foo.java:3) advised by before advice from 'X' (Foo.java:17)"/>
  340. <message kind="weave" text="Join point 'method-execution(void Foo.m())' in Type 'Foo' (Foo.java:7) advised by before advice from 'X' (Foo.java:17)"/>
  341. </compile>
  342. <run class="Foo"/>
  343. </ajc-test>
  344. <ajc-test dir="bugs1612/pr345172" title="incorrect annos">
  345. <compile files="InterType.java" options="-1.5 -showWeaveInfo">
  346. <message kind="weave" text="Join point 'method-execution(void InterType$InterTypeIfc.m1(int))' in Type 'InterType' (InterType.java:21) advised by around advice from 'InterType$AroundMethod' (InterType.java:12)"/>
  347. <!--
  348. <message kind="weave" text="Join point 'method-execution(void InterType$InterTypeIfc.m1(int, int))' in Type 'InterType' (InterType.java:24) advised by around advice from 'InterType$AroundMethod' (InterType.java:12)"/>
  349. <message kind="weave" text="Join point 'method-execution(void InterType.m1(int))' in Type 'InterType' (InterType.java:28) advised by around advice from 'InterType$AroundMethod' (InterType.java:12)"/>
  350. -->
  351. <message kind="weave" text="Type 'InterType$InterTypeIfc' (InterType.java) has intertyped method from 'InterType' (InterType.java:'void InterType$InterTypeIfc.m1(int)')"/>
  352. <message kind="weave" text="Type 'InterType$InterTypeIfc' (InterType.java) has intertyped method from 'InterType' (InterType.java:'void InterType$InterTypeIfc.m1(int, int)')"/>
  353. </compile>
  354. <run class="InterType"/>
  355. </ajc-test>
  356. <ajc-test dir="bugs1612/pr345172" title="incorrect annos 2">
  357. <compile files="InterType2.java" options="-1.5">
  358. </compile>
  359. <run class="InterType2">
  360. <stdout>
  361. <line text="execution(void InterType2.InterTypeIfc.m1(int))"/>
  362. </stdout></run>
  363. </ajc-test>
  364. <ajc-test dir="bugs1612/pr345172" title="incorrect annos 3">
  365. <compile files="InterType3.java" options="-1.5">
  366. </compile>
  367. <run class="InterType3">
  368. <stdout>
  369. <line text="execution(void InterType3.InterTypeIfc.m1(int, String))"/>
  370. </stdout></run>
  371. </ajc-test>
  372. <ajc-test dir="bugs1612/pr328099" title="signed jar ltw">
  373. <compile files="X.java" classpath="code.jar"/>
  374. <run class="foo.bar.FooLaunch" ltw="aop.xml" classpath="$sandbox/code.jar">
  375. <stdout>
  376. <line text="pre...Foo.bar()...post"/>
  377. </stdout>
  378. </run>
  379. </ajc-test>
  380. <ajc-test dir="bugs1612/pr315398" title="verifyerror">
  381. <compile files="Code.java" options="-1.5">
  382. </compile>
  383. <run class="Code">
  384. <stdout>
  385. <line text="1"/>
  386. <line text="advice"/>
  387. <line text="2"/>
  388. </stdout></run>
  389. </ajc-test>
  390. <ajc-test dir="bugs1612/pr315398" title="verifyerror - 2">
  391. <compile files="Code2.java" options="-1.5">
  392. </compile>
  393. <run class="Code2"></run>
  394. </ajc-test>
  395. <ajc-test dir="bugs1612/pr335810" title="rawtype warning">
  396. <compile files="One.java" options="-1.5 -warn:+raw -warn:+warningToken">
  397. </compile>
  398. </ajc-test>
  399. <ajc-test dir="bugs1612/pr327134" title="rawtype pointcut">
  400. <compile files="Code.java" options="-1.5 -warn:+raw -warn:+warningToken">
  401. </compile>
  402. </ajc-test>
  403. <ajc-test dir="bugs1612/pr344005" title="decp generics">
  404. <compile files="Anno.java Types.java Azpect.java" options="-1.5 -showWeaveInfo">
  405. <message kind="weave" text="XX"/>
  406. </compile>
  407. </ajc-test>
  408. <ajc-test dir="bugs1612/pr343051" title="illegalaccesserror">
  409. <compile files="Code.java Code2.java Azpect.java" options="-1.5"/>
  410. <run class="p.Code">
  411. <stdout>
  412. <line text="abc"/>
  413. </stdout>
  414. </run>
  415. </ajc-test>
  416. <ajc-test dir="bugs1612/pr339974" title="itit npe">
  417. <compile files="City.java TrafficCalculator.java" options="-1.5">
  418. <message kind="error" text="The nested type TrafficCalculator cannot hide an enclosing type"/>
  419. </compile>
  420. </ajc-test>
  421. <ajc-test dir="bugs1612/pr342605" title="noimporterror">
  422. <compile files="Code.java" options="-1.5 -noImportError"/>
  423. <run class="Code"/>
  424. </ajc-test>
  425. <ajc-test dir="bugs1612/pr342323" title="clashing local types">
  426. <compile files="Runner.java Bean.java Azpect.java" options="-1.5"/>
  427. <run class="ppp.Runner">
  428. <stdout>
  429. <line text="Calling regular method"/>
  430. <line text="class"/>
  431. <line text="Calling itd method"/>
  432. <line text="aspect foo"/>
  433. </stdout>
  434. </run>
  435. </ajc-test>
  436. <ajc-test dir="bugs1612/pr338175" title="itit">
  437. <compile files="pack1/Aspect.java pack2/Java.java pack2/Java2.java" options="-1.5">
  438. <message kind="error" text="Duplicate nested type ITIT"/>
  439. <message kind="error" text="can't determine modifiers"/>
  440. </compile>
  441. </ajc-test>
  442. <ajc-test dir="bugs1612/pr292239" title="throws clause">
  443. <compile files="Code.java" options="-1.5 -showWeaveInfo">
  444. <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)"/>
  445. </compile>
  446. <run class="mypackage.Code">
  447. <stdout>
  448. <line text="caught it"/>
  449. <line text="done"/>
  450. </stdout>
  451. </run>
  452. </ajc-test>
  453. <ajc-test dir="bugs1612/pr292239" title="throws clause - 2">
  454. <compile files="Code2.java" options="-1.5 -showWeaveInfo">
  455. <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)"/>
  456. </compile>
  457. <run class="mypackage.Code2">
  458. <stdout>
  459. <line text="caught it: execution(void mypackage.Code2.n2())"/>
  460. <line text="done"/>
  461. </stdout>
  462. </run>
  463. </ajc-test>
  464. <!--
  465. <ajc-test dir="bugs1611/pr336136" title="itit">
  466. <compile files="Country_Roo_Op4j.java">
  467. <message kind="error" text="The import com.foo cannot be resolved" line="1"/>
  468. <message kind="error" text="The import org.javaruntype cannot be resolved" line="3"/>
  469. <message kind="error" text="The import org.op4j cannot be resolved" line="4"/>
  470. <message kind="error" text="The import org.op4j cannot be resolved" line="5"/>
  471. <message kind="error" text="Country cannot be resolved to a type" line="9"/>
  472. <message kind="error" text="Function cannot be resolved to a type" line="11"/>
  473. <message kind="error" text="can't determine modifiers of missing type Country_Roo_Op4j$Keys"/>
  474. </compile>"
  475. </ajc-test>
  476. -->
  477. </suite>