diff options
author | aclement <aclement> | 2006-06-26 07:31:36 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-06-26 07:31:36 +0000 |
commit | c8e1c4e4ef296b9108af8036f30baad4443b5afe (patch) | |
tree | 1c1f12011e4f9dc25262ac429978c900843af84c /tests/src | |
parent | be2aca6940a820f96cfc4a6deeb7d4be5bba767d (diff) | |
download | aspectj-c8e1c4e4ef296b9108af8036f30baad4443b5afe.tar.gz aspectj-c8e1c4e4ef296b9108af8036f30baad4443b5afe.zip |
another scenario for 148545 - generic return type too.
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | 1 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc152/ajc152.xml | 11 |
2 files changed, 10 insertions, 2 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java b/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java index 8f5dbcd39..17996d89e 100644 --- a/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java @@ -36,6 +36,7 @@ public class Ajc152Tests extends org.aspectj.testing.XMLBasedAjcTestCase { // public void testAdviceNotWovenAspectPath_pr147841() { runTest("advice not woven on aspectpath");} // public void testClassCastForInvalidAnnotationValue_pr148537() { runTest("classcast annotation value");} public void testPrivilegeGeneric_pr148545() { runTest("nosuchmethoderror for privileged aspect");} + public void testPrivilegeGeneric_pr148545_2() { runTest("nosuchmethoderror for privileged aspect - 2");} public void testUnknownAnnotationNPE() { runTest("NPE for unknown annotation");} public void testDuplicateBridgeMethods_pr147801_1() { runTest("duplicate bridge methods");} public void testPackageIgnoredForException_pr147701_1() { runTest("package for exception ignored");} diff --git a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml index 4c916532a..481e3243c 100644 --- a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml +++ b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml @@ -114,8 +114,15 @@ </ajc-test> <ajc-test dir="bugs152/pr148545" title="nosuchmethoderror for privileged aspect"> - <compile files="MyClass.java,MyAspect.java,MyAnnotation.java,MyEnum.java" options="-1.5"/> - <run class="MyClass"/> + <compile files="MyClass.java,MyAspect.java,MyAnnotation.java,MyEnum.java" options="-1.5"/> + <run class="MyClass"/> + </ajc-test> + + <ajc-test dir="bugs152/pr148545" title="nosuchmethoderror for privileged aspect - 2"> + <compile files="MyClass.java,MyAspect2.java,MyAnnotation.java,MyEnum.java" options="-1.5 -showWeaveInfo"> + <message kind="weave" text="Join point 'method-execution(void MyClass.test())' in Type 'MyClass' (MyClass.java:8) advised by around advice from 'MyAspect2' (MyAspect2.java:5)"/> + </compile> + <run class="MyClass"/> </ajc-test> <ajc-test dir="bugs152/pr145391" title="itd calling generic method - 2"> |