aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
diff options
context:
space:
mode:
authoraclement <aclement>2005-06-08 13:19:13 +0000
committeraclement <aclement>2005-06-08 13:19:13 +0000
commit9e8ff934c46e4169bdcaebb64d5d752540bb95b5 (patch)
tree51e825be6244257d70745d2cda03d12e07e2c522 /tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
parentd69548ecc12da813e31f1128bfcb6fb449ffb202 (diff)
downloadaspectj-9e8ff934c46e4169bdcaebb64d5d752540bb95b5.tar.gz
aspectj-9e8ff934c46e4169bdcaebb64d5d752540bb95b5.zip
Tests for 98901: annotation copying on public ITDs
Diffstat (limited to 'tests/src/org/aspectj/systemtest/ajc150/ajc150.xml')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/ajc150.xml40
1 files changed, 29 insertions, 11 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
index 41b2a7780..1412d4dfc 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
+++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
@@ -503,6 +503,22 @@
<run class="a.b.c.A"/>
</ajc-test>
+ <ajc-test dir="java5/annotations/itds" vm="1.5" title="annotated public itds">
+ <compile files="AtItd2.aj" options="-1.5"/>
+ <run class="AtItd2"/>
+ </ajc-test>
+
+ <ajc-test dir="java5/annotations/itds" vm="1.5" title="annotated public itds - values">
+ <compile files="AtItd3.aj" options="-1.5"/>
+ <run class="AtItd3"/>
+ </ajc-test>
+
+ <ajc-test dir="java5/annotations/itds" vm="1.5" title="annotated public itds - multiple complex annotations">
+ <compile files="AtItd4.aj" options="-1.5"/>
+ <run class="AtItd4"/>
+ </ajc-test>
+
+
<ajc-test dir="java5/annotations/itds" vm="1.5" title="nasty annotation and itds test">
<compile files="AnnotationsAndITDs.aj" options="-1.5">
<!-- first two are ITCs, second two are ITCs annotated via declare @ctor, third is default ctor -->
@@ -2269,11 +2285,21 @@
// generic ITDs
+ <ajc-test dir="java5/generics/itds" title="ITDs on generic type">
+ <compile files="Parse5.java" options="-1.5">
+ <message kind="error" line="9"/>
+ <message kind="error" line="11"/>
+ <message kind="error" line="13"/>
+ <message kind="error" line="15"/>
+ </compile>
+ </ajc-test>
+
<ajc-test dir="java5/generics/itds" title="itd of non static member">
<compile files="A.java" options="-1.5"/>
<run class="A">
<stderr>
- <line text="fillthisin"/>
+ <line text="min(2,4)=>2"/>
+ <line text="max(2,4)=>4"/>
</stderr>
</run>
</ajc-test>
@@ -2282,7 +2308,8 @@
<compile files="B.java" options="-1.5"/>
<run class="B">
<stderr>
- <line text="fillthisin..."/>
+ <line text="min(2,4)=>2"/>
+ <line text="max(2,4)=>4"/>
</stderr>
</run>
</ajc-test>
@@ -2321,15 +2348,6 @@
<compile files="Parse4.java" options="-1.5"/>
</ajc-test>
- <ajc-test dir="java5/generics/itds" title="ITDs on generic type">
- <compile files="Parse5.java" options="-1.5">
- <message kind="error" line="9"/>
- <message kind="error" line="11"/>
- <message kind="error" line="13"/>
- <message kind="error" line="15"/>
- </compile>
- </ajc-test>
-
// end of generic ITDs
// generic decps