diff options
author | aclement <aclement> | 2011-03-30 19:08:32 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-03-30 19:08:32 +0000 |
commit | 8b322ba8aece6db9ddab83fdaa87baa29f7c8527 (patch) | |
tree | 79442645eab0efaadd1b681a9d247f39f33c0a53 /tests/src/org | |
parent | a8e6797a9268d9fb041c075ee7701831f7e848b4 (diff) | |
download | aspectj-8b322ba8aece6db9ddab83fdaa87baa29f7c8527.tar.gz aspectj-8b322ba8aece6db9ddab83fdaa87baa29f7c8527.zip |
338175: coping better with bad code
Diffstat (limited to 'tests/src/org')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java | 4 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java b/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java index 55aa6d3bb..5af06a3cd 100644 --- a/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java @@ -21,6 +21,10 @@ import org.aspectj.testing.XMLBasedAjcTestCase; */ public class Ajc1612Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + public void testITIT_338175() { + runTest("itit"); + } + public void testThrowsClause_292239() { runTest("throws clause"); } diff --git a/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml b/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml index 943b4f28a..f32b5497e 100644 --- a/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml +++ b/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml @@ -2,6 +2,13 @@ <suite> +<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)"/> |