aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2008-06-10 22:46:14 +0000
committeraclement <aclement>2008-06-10 22:46:14 +0000
commit15417326c953d13c906f3e7d516fcf64ed04d36a (patch)
treea313d291b69552639bb0904adfc8013447cbd0e4 /tests
parentd5334b1fc19fc53ff5303eee88f9ac41ef0f0172 (diff)
downloadaspectj-15417326c953d13c906f3e7d516fcf64ed04d36a.tar.gz
aspectj-15417326c953d13c906f3e7d516fcf64ed04d36a.zip
230075: testcode and fix
Diffstat (limited to 'tests')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java1
-rw-r--r--tests/src/org/aspectj/systemtest/ajc161/ajc161.xml5
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java b/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java
index 65c14c8e9..fb2b75f77 100644
--- a/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java
@@ -23,6 +23,7 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
public class Ajc161Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
// AspectJ1.6.1
+ public void testProtectedMethodsAroundAdvice_pr230075() { runTest("protected methods and around advice");}
public void testFinalStringsAnnotationPointcut_pr174385() { runTest("static strings in annotation pointcuts");}
public void testComplexBoundsGenericAspect_pr199130_1() { runTest("complex bounds on generic aspect - 1");}
public void testComplexBoundsGenericAspect_pr199130_2() { runTest("complex bounds on generic aspect - 2");}
diff --git a/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml b/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml
index 9f5c8fbca..c15f0a4f4 100644
--- a/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml
+++ b/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml
@@ -3,6 +3,11 @@
<!-- AspectJ v1.6.1 Tests -->
<suite>
+ <ajc-test dir="bugs161/pr230075" title="protected methods and around advice">
+ <compile files="A.java B.java C.java X.java" options="-1.5"/>
+ <run class="a.C"/>
+ </ajc-test>
+
<ajc-test dir="bugs161/pr174385" title="static strings in annotation pointcuts">
<compile files="StaticFinalStringInPointcutAspect.java" options="-1.5"/>
<run class="bug.StaticFinalStringInPointcutAspect"/>