aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/org
diff options
context:
space:
mode:
authoraclement <aclement>2006-02-21 15:52:36 +0000
committeraclement <aclement>2006-02-21 15:52:36 +0000
commit7a2087ef985e8af73045bac1e7e0195bb87c7f40 (patch)
treee73cc35de1b7afd280aad528bf763de31ee66c05 /tests/src/org
parent14fc00e3e4a1f203286d1d4fd530530db8843143 (diff)
downloadaspectj-7a2087ef985e8af73045bac1e7e0195bb87c7f40.tar.gz
aspectj-7a2087ef985e8af73045bac1e7e0195bb87c7f40.zip
test and fix for 128744 (or at least the LTW problem Sian hit whilst debugging it...)
Diffstat (limited to 'tests/src/org')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java1
-rw-r--r--tests/src/org/aspectj/systemtest/ajc151/ajc151.xml10
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java b/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
index 11af51054..0832c4a47 100644
--- a/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
@@ -42,6 +42,7 @@ public class Ajc151Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
public void testUnusedInterfaceMessage_pr120527() { runTest("incorrect unused interface message");}
public void testAtAspectInheritsAdviceWithTJPAndThis_pr125699 () { runTest("inherit advice with this() and thisJoinPoint"); }
public void testAtAspectInheritsAdviceWithTJPAndThis_pr125699_2 () {runTest("inherit advice with this() and thisJoinPoint - 2"); }
+ public void testBrokenLTW_pr128744() { runTest("broken ltw"); }
public void testMixingNumbersOfTypeParameters_pr125080() {
runTest("mixing numbers of type parameters");
diff --git a/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml b/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml
index dfbcc1b73..c76ccbac7 100644
--- a/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml
+++ b/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml
@@ -132,6 +132,16 @@
<run class="Test" ltw="aop.xml"/>
</ajc-test>
+ <ajc-test dir="bugs151/pr128744" title="broken ltw">
+ <compile files="Hello.java World.java" options="-1.5" />
+ <run class="Hello" ltw="aop.xml">
+ <stdout>
+ <line text="Hello"/>
+ <line text="World"/>
+ </stdout>
+ </run>
+ </ajc-test>
+
<ajc-test dir="bugs151/pr125480" title="aop.xml aspect inherits abstract method that has concrete implementation in parent">
<compile files="HelloWorld.java"/>
<compile files="AbstractMethods.aj, ConcreteMethods.aj"/>