diff options
author | aclement <aclement> | 2011-04-21 15:25:09 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-04-21 15:25:09 +0000 |
commit | 249f832fef29f56e23134a7e38f0bce8e9e209eb (patch) | |
tree | 6667328473ebb9a048224597637a1c7d424941bd /tests/src | |
parent | 31b69183e2ffd591a1e457cf3a93e6dc3bd3f1eb (diff) | |
download | aspectj-249f832fef29f56e23134a7e38f0bce8e9e209eb.tar.gz aspectj-249f832fef29f56e23134a7e38f0bce8e9e209eb.zip |
339974: testcode. 342605: testcode (but deactivated)
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java | 8 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml | 10 |
2 files changed, 18 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java b/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java index 3a1156f42..26140e933 100644 --- a/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java @@ -21,6 +21,14 @@ import org.aspectj.testing.XMLBasedAjcTestCase; */ public class Ajc1612Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + public void testItitNpe_339974() { + runTest("itit npe"); + } + +// public void testNoImportError_342605() { +// runTest("noimporterror"); +// } + public void testClashingLocalTypes_342323() { runTest("clashing local types"); } diff --git a/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml b/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml index d8895fecc..49b27f558 100644 --- a/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml +++ b/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml @@ -2,6 +2,16 @@ <suite> +<ajc-test dir="bugs1612/pr339974" title="itit npe"> +<compile files="City.java TrafficCalculator.java" options="-1.5"> +<message kind="error" text="The nested type TrafficCalculator cannot hide an enclosing type"/> +</compile> +</ajc-test> + +<ajc-test dir="bugs1612/pr342605" title="noimporterror"> +<compile files="Code.java" options="-1.5 -noImportError"/> +<run class="Code"/> +</ajc-test> <ajc-test dir="bugs1612/pr342323" title="clashing local types"> <compile files="Runner.java Bean.java Azpect.java" options="-1.5"/> |