summaryrefslogtreecommitdiffstats
path: root/tests/src/org
diff options
context:
space:
mode:
authoravasseur <avasseur>2005-07-18 14:58:41 +0000
committeravasseur <avasseur>2005-07-18 14:58:41 +0000
commitf632b6ee2fc4ed7e252e231c03c93ba12f5f1dbb (patch)
tree456141208f0cae200fa31dbe1d988cec7e886515 /tests/src/org
parentde064586adce1a43081832aefa88d27e883cb81e (diff)
downloadaspectj-f632b6ee2fc4ed7e252e231c03c93ba12f5f1dbb.tar.gz
aspectj-f632b6ee2fc4ed7e252e231c03c93ba12f5f1dbb.zip
ltw reweavable test for Mattew bug, fix some wrong getCoreType that makes some stderr output when closure are encountered on ltw / dump
Diffstat (limited to 'tests/src/org')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java4
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/ataspectj/ltw.xml8
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java
index e6e354de6..5b8a25982 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java
+++ b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java
@@ -70,4 +70,8 @@ public class AtAjLTWTests extends XMLBasedAjcTestCase {
runTest("LTW DumpTest");
}
+ public void testAjcAspect1LTWAspect2_Xreweavable() {
+ runTest("Ajc Aspect1 LTW Aspect2 -Xreweavable");
+ }
+
}
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/ltw.xml b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/ltw.xml
index 6cd0caccc..7749ae32b 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/ltw.xml
+++ b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/ltw.xml
@@ -86,4 +86,12 @@
<ant file="ajc-ant.xml" target="ltw.DumpTest" verbose="true"/>
</ajc-test>
+ <ajc-test dir="java5/ataspectj" title="Ajc Aspect1 LTW Aspect2 -Xreweavable">
+ <compile
+ files="ataspectj/ltwreweavable/Main.java,ataspectj/ltwreweavable/Aspect1.java,ataspectj/ltwreweavable/Advisable.java"
+ options="-1.5 -Xreweavable"
+ outjar="main1.jar"/>
+ <ant file="ajc-ant.xml" target="ltw.Aspect2MainTest" verbose="true"/>
+ </ajc-test>
+
</suite> \ No newline at end of file