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