diff options
author | aclement <aclement> | 2008-04-26 05:11:27 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-04-26 05:11:27 +0000 |
commit | 896000fba2b8c82c611ff36d58e70ab72f50c3d5 (patch) | |
tree | f2e28f7a8602fb1e7d1693ee2dcb639186493ff1 /tests/src | |
parent | 677f7d0c4b42bc9d0a4ad793747e9183e3322f3f (diff) | |
download | aspectj-896000fba2b8c82c611ff36d58e70ab72f50c3d5.tar.gz aspectj-896000fba2b8c82c611ff36d58e70ab72f50c3d5.zip |
228980: tests and partial fix
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc160/ParameterAnnotationMatchingTests.java | 5 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc160/parameterAnnotations.xml | 21 |
2 files changed, 24 insertions, 2 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc160/ParameterAnnotationMatchingTests.java b/tests/src/org/aspectj/systemtest/ajc160/ParameterAnnotationMatchingTests.java index 97e6c9222..4e6677879 100644 --- a/tests/src/org/aspectj/systemtest/ajc160/ParameterAnnotationMatchingTests.java +++ b/tests/src/org/aspectj/systemtest/ajc160/ParameterAnnotationMatchingTests.java @@ -14,10 +14,10 @@ package org.aspectj.systemtest.ajc160; import java.io.File; -import org.aspectj.testing.XMLBasedAjcTestCase; - import junit.framework.Test; +import org.aspectj.testing.XMLBasedAjcTestCase; + /** * Parameter annotation matching * @@ -76,6 +76,7 @@ import junit.framework.Test; */ public class ParameterAnnotationMatchingTests extends XMLBasedAjcTestCase { + public void testDeow() { runTest("deow"); } public void testNoWarningForWrongType() { runTest("no xlint for wrong target");} public void testVariousCombinations() { runTest("various combinations"); } public void testVariousCombinationsCtors() { runTest("various combinations - ctors"); } diff --git a/tests/src/org/aspectj/systemtest/ajc160/parameterAnnotations.xml b/tests/src/org/aspectj/systemtest/ajc160/parameterAnnotations.xml index 540307665..47d8598b3 100644 --- a/tests/src/org/aspectj/systemtest/ajc160/parameterAnnotations.xml +++ b/tests/src/org/aspectj/systemtest/ajc160/parameterAnnotations.xml @@ -4,6 +4,27 @@ <suite> + <ajc-test dir="features160/parameterAnnotationMatching" title="deow"> + <compile options="-1.5" files="Test.java"> + <message kind="warning" line="43" text="mOne"/> + <message kind="warning" line="45" text="mOne"/> + <message kind="warning" line="43" text="mThree"/> + <message kind="warning" line="47" text="mFour"/> + <message kind="warning" line="49" text="mFour"/> + <message kind="warning" line="47" text="mFive"/> + <message kind="warning" line="47" text="mSix"/> + <message kind="warning" line="45" text="mNine"/> + <message kind="warning" line="49" text="mEleven"/> + <message kind="warning" line="49" text="mTwelve"/> + <message kind="warning" line="49" text="mTen"/> + <message kind="warning" line="45" text="mEight"/> + <!-- + <message kind="warning" line="43" text="mTwo"/> + <message kind="warning" line="45" text="mSeven"/> + --> + </compile> + </ajc-test> + <ajc-test dir="features160/parameterAnnotationMatching" title="no xlint for wrong target"> <compile options="-1.5" files="NonNullAssertionForcer.java"/> </ajc-test> |