diff options
author | aclement <aclement> | 2005-06-08 13:19:13 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-06-08 13:19:13 +0000 |
commit | 9e8ff934c46e4169bdcaebb64d5d752540bb95b5 (patch) | |
tree | 51e825be6244257d70745d2cda03d12e07e2c522 | |
parent | d69548ecc12da813e31f1128bfcb6fb449ffb202 (diff) | |
download | aspectj-9e8ff934c46e4169bdcaebb64d5d752540bb95b5.tar.gz aspectj-9e8ff934c46e4169bdcaebb64d5d752540bb95b5.zip |
Tests for 98901: annotation copying on public ITDs
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/ajc150.xml | 40 |
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 |