aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authoraclement <aclement>2008-05-02 02:20:24 +0000
committeraclement <aclement>2008-05-02 02:20:24 +0000
commit6df42fc2fca5a3074880dbc57b92ed7bdb238937 (patch)
tree0edbf268aa6fa2f446cebc5a6ba3b73116f8a1e8 /tests/src
parent85af57c52f16fb27506ed109681a7098ae73b197 (diff)
downloadaspectj-6df42fc2fca5a3074880dbc57b92ed7bdb238937.tar.gz
aspectj-6df42fc2fca5a3074880dbc57b92ed7bdb238937.zip
229910 - dont generate bad code for around advice on fieldset for an inherited field
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java3
-rw-r--r--tests/src/org/aspectj/systemtest/ajc161/ajc161.xml6
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java b/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java
index d9321b6aa..8d1badc21 100644
--- a/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java
@@ -18,7 +18,8 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
public class Ajc161Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
- // AspectJ1.6.0rc1
+ // AspectJ1.6.1
+ public void testAroundAdviceOnFieldSet_pr229910() { runTest("around advice on field set"); }
public void testPipelineCompilationGenericReturnType_pr226567() { runTest("pipeline compilation and generic return type"); }
public static Test suite() {
diff --git a/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml b/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml
index 77b0b60af..210df6462 100644
--- a/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml
+++ b/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml
@@ -3,9 +3,15 @@
<!-- AspectJ v1.6.1 Tests -->
<suite>
+ <ajc-test dir="bugs161/pr229910" title="around advice on field set">
+ <compile files="Test.java" options="-1.5"/>
+ <run class="Test"/>
+ </ajc-test>
+
<ajc-test dir="bugs161/pr226567" title="pipeline compilation and generic return type">
<compile files="BarAspect.aj Foo.java Bar.java" options="-1.5"/>
<compile files="BarAspect.aj Bar.java Foo.java" options="-1.5"/>
</ajc-test>
+
</suite> \ No newline at end of file