diff options
author | avasseur <avasseur> | 2005-10-25 15:36:26 +0000 |
---|---|---|
committer | avasseur <avasseur> | 2005-10-25 15:36:26 +0000 |
commit | 808a511b8f00f1ea3785796410b5f7c273e7af8e (patch) | |
tree | b7ff9fbac1b61cebc7d73f748775eac356aaa331 /tests/src | |
parent | 4bc9d287704b1ed797d92a2b19dea6b0f82b8f5b (diff) | |
download | aspectj-808a511b8f00f1ea3785796410b5f7c273e7af8e.tar.gz aspectj-808a511b8f00f1ea3785796410b5f7c273e7af8e.zip |
fix for #113587: when aop.xml include/exclude is used, javac @Aspect are not passed thru the aspectof munger. Added custom logic for that
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java | 5 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/ataspectj/ltw.xml | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java index d0a88a27e..49e9e7850 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java @@ -101,4 +101,9 @@ public class AtAjLTWTests extends XMLBasedAjcTestCase { public void testConcreteAspect() { runTest("ConcreteAspect"); } + + public void testAspectOfWhenAspectNotInInclude() { + runTest("AspectOfWhenAspectNotInInclude"); + } + } diff --git a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/ltw.xml b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/ltw.xml index d3bf28f77..257d56805 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/ltw.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/ltw.xml @@ -147,4 +147,10 @@ <run class="ataspectj.ConcreteAspectTest" ltw="ataspectj/aop-concreteaspect.xml"/> </ajc-test> + <ajc-test dir="java5/ataspectj" title="AspectOfWhenAspectNotInInclude"> + <compile + files="ataspectj/bugs/AspectOfWhenAspectNotInIncludeTest.java,ataspectj/TestHelper.java" + options="-1.5 -XnoWeave"/> + <run class="ataspectj.bugs.AspectOfWhenAspectNotInIncludeTest" ltw="ataspectj/bugs/aop-aspectofwhenaspectnotinincludetest.xml"/> + </ajc-test> </suite>
\ No newline at end of file |