diff options
author | aclement <aclement> | 2004-08-11 08:17:11 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-08-11 08:17:11 +0000 |
commit | 065228643beb192e3214a032c2b62f90db4f8592 (patch) | |
tree | d554593680c6fff507adbf22e5c5c260eb48dc79 | |
parent | 9d36a87c1f64a2c214cab2be16b2eda8b79cdf87 (diff) | |
download | aspectj-065228643beb192e3214a032c2b62f90db4f8592.tar.gz aspectj-065228643beb192e3214a032c2b62f90db4f8592.zip |
Tests for bug 65925. Already fixed !
-rw-r--r-- | tests/ajcTestsFailing.xml | 10 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java | 4 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml | 15 |
3 files changed, 17 insertions, 12 deletions
diff --git a/tests/ajcTestsFailing.xml b/tests/ajcTestsFailing.xml index f9c1bdd55..167f12d9e 100644 --- a/tests/ajcTestsFailing.xml +++ b/tests/ajcTestsFailing.xml @@ -132,16 +132,6 @@ <compile files="InterfaceInitializerOrder.java"/> <run class="InterfaceInitializerOrder"/> </ajc-test> - - <ajc-test - dir="bugs/invalidAbsoluteTypeName" - pr="65925" - title="Valid but inaccessible type names should not be flagged by XLint:invalidAbsoluteTypeName"> - <compile files="False_InvalidAbsoluteTypeName.java"> - <message kind="warning" line="17"/> - </compile> - <run class="False_InvalidAbsoluteTypeName"/> - </ajc-test> <ajc-test dir="pureJava" title="assert coverage tests [requires 1.4]" keywords="from-14tests,purejava"> diff --git a/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java b/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java index 7886c9eba..64d7937cf 100644 --- a/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java @@ -153,5 +153,9 @@ public class Ajc121Tests extends org.aspectj.testing.XMLBasedAjcTestCase { // public void test028_itdsAndInitializers() { // runTest("resolution of IT field inits"); // } + + public void test029_falseInvalidAbsoluteTypeName() { + runTest("Valid but inaccessible type names should not be flagged by XLint:invalidAbsoluteTypeName"); + } } diff --git a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml index 84df3ca97..38261858e 100644 --- a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml +++ b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml @@ -210,7 +210,7 @@ </compile> </ajc-test> - <ajc-test dir="bugs/oxford" pr="65319" + <ajc-test dir="bugs/oxford" pr="65319" title="ajc crashes when compiling the following program (binding this() and target())"> <compile files="PR65319.java"> <message kind="error" line="7" text="Cannot use target() to match at this"/> @@ -223,6 +223,7 @@ <message kind="error" line="15" text="Ambiguous binding of type Test"/> </compile> </ajc-test> + <!-- <ajc-test dir="bugs/oxford" pr="62475" title="resolution of IT field inits"> @@ -230,4 +231,14 @@ <message kind="error" line="14" /> </compile> </ajc-test> --->
\ No newline at end of file +--> + + <ajc-test + dir="bugs/invalidAbsoluteTypeName" + pr="65925" + title="Valid but inaccessible type names should not be flagged by XLint:invalidAbsoluteTypeName"> + <compile files="False_InvalidAbsoluteTypeName.java"> + <message kind="warning" line="17"/> + </compile> + <run class="False_InvalidAbsoluteTypeName"/> + </ajc-test> |