summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2006-04-24 08:32:22 +0000
committeraclement <aclement>2006-04-24 08:32:22 +0000
commitab4ea848ce9d73b10a4ecf0254a2f2759967288d (patch)
tree70e5ad4d53be902862e06ef4a7b39bb077c3ba1a
parent71bba6c3746ecb3cf64e204372e367ade78da050 (diff)
downloadaspectj-ab4ea848ce9d73b10a4ecf0254a2f2759967288d.tar.gz
aspectj-ab4ea848ce9d73b10a4ecf0254a2f2759967288d.zip
testcode for 137568,138143,138158
-rw-r--r--tests/src/org/aspectj/systemtest/ajc152/ajc152.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml
index 2c9bd484b..024fe802d 100644
--- a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml
+++ b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml
@@ -20,6 +20,25 @@
<run class="StatisticsTypeImpl"/>
</ajc-test>
+ <ajc-test dir="bugs152/pr138158" title="not at withincode">
+ <compile files="Boo.java" options="-1.5 -showWeaveInfo">
+ <message kind="weave" text="Join point 'method-call(void Boo.m())' in Type 'Boo' (Boo.java:9) advised by before advice from 'X' (Boo.java:19)"/>
+ </compile>
+ <run class="Boo"/>
+ </ajc-test>
+
+ <ajc-test dir="bugs152/pr137568" title="complicated generics declaration">
+ <compile files="C.java" options="-emacssym -1.5"/>
+ <run class="C"/>
+ </ajc-test>
+
+ <ajc-test dir="bugs152/pr138143" title="npe on duplicate method with ataj">
+ <compile files="AspectClass.java" options="-1.5">
+ <message kind="error" line="7" text="Duplicate method incomingMessage() in type AspectClass"/>
+ <message kind="error" line="12" text="Duplicate method incomingMessage() in type AspectClass"/>
+ </compile>
+ </ajc-test>
+
<ajc-test dir="bugs152/pr137496" title="pointcuts and generics - B">
<compile files="B.java" options="-1.5 -showWeaveInfo">
<!--message kind="weave" text="Join point 'method-call(java.lang.String C.pm(java.lang.String))' in Type 'B' (B.java:20) advised by before advice from 'X' (B.java:26)"/-->