aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authoraclement <aclement>2008-12-15 21:28:34 +0000
committeraclement <aclement>2008-12-15 21:28:34 +0000
commitf6c0e441ce6ab3d8bb9724d3595d95cef60e786e (patch)
tree10b9c80e98661bc4db8cdb92e8079a36e53b825c /tests/src
parenta2041f02e2d022438f125681339706b97af8e2e7 (diff)
downloadaspectj-f6c0e441ce6ab3d8bb9724d3595d95cef60e786e.tar.gz
aspectj-f6c0e441ce6ab3d8bb9724d3595d95cef60e786e.zip
252722: test and fix: generated super dispatch methods
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java16
-rw-r--r--tests/src/org/aspectj/systemtest/ajc163/ajc163.xml20
2 files changed, 36 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java b/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java
index 0ad817a72..a6c3900f4 100644
--- a/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java
@@ -31,6 +31,22 @@ public class Ajc163Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
// runTest("itd anonymous inner class in wrong package");
// }
+ public void testExtendingASI_pr252722() {
+ runTest("extending AbstractSecurityInterceptor");
+ }
+
+ public void testExtendingASI_pr252722_2() {
+ runTest("extending AbstractSecurityInterceptor - 2");
+ }
+
+ public void testExtendingASI_pr252722_3() {
+ runTest("extending AbstractSecurityInterceptor - 3");
+ }
+
+ public void testExtendingASI_pr252722_4() {
+ runTest("extending AbstractSecurityInterceptor - 4");
+ }
+
public void testGetNode_pr258653() {
runTest("getNode");
}
diff --git a/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml b/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml
index 9a3ee182d..cf8c9cf61 100644
--- a/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml
+++ b/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml
@@ -5,6 +5,26 @@
<ajc-test dir="bugs163/pr258653" title="getNode">
<compile files="staticinit.java" options="-1.5 -emacssym"/>
</ajc-test>
+
+ <ajc-test dir="bugs163/pr252722" title="extending AbstractSecurityInterceptor">
+ <compile files="A.java" options="-1.5"/>
+ <run class="A"/>
+ </ajc-test>
+
+ <ajc-test dir="bugs163/pr252722" title="extending AbstractSecurityInterceptor - 2">
+ <compile files="ACode.java" options="-1.5"/>
+ <run class="ACode"/>
+ </ajc-test>
+
+ <ajc-test dir="bugs163/pr252722" title="extending AbstractSecurityInterceptor - 3">
+ <compile files="B.java" options="-1.5"/>
+ <run class="B"/>
+ </ajc-test>
+
+ <ajc-test dir="bugs163/pr252722" title="extending AbstractSecurityInterceptor - 4">
+ <compile files="BCode.java" options="-1.5"/>
+ <run class="BCode"/>
+ </ajc-test>
<ajc-test dir="bugs163/pr154427" title="getMethod returning null">
<compile files="AuthorizationImpl.java Authorization.java AuthorizationAdmin.java CallAndMethodSignatureAspect.java CallTest.java" options=""/>