aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2006-08-08 13:50:57 +0000
committeraclement <aclement>2006-08-08 13:50:57 +0000
commit039be6888f9ec674a0bbb0f5fc37486f8565fece (patch)
treea867ef7e3b451da5fa14a5977410b47f8f97fb93 /tests
parenta38edd39a8e998a22b41a0cf1928493aa0755e65 (diff)
downloadaspectj-039be6888f9ec674a0bbb0f5fc37486f8565fece.tar.gz
aspectj-039be6888f9ec674a0bbb0f5fc37486f8565fece.zip
patches from 152161
Diffstat (limited to 'tests')
-rw-r--r--tests/ltw/aop-xset-verbose.xml5
-rw-r--r--tests/ltw/aop-xset.xml4
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java7
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml22
4 files changed, 38 insertions, 0 deletions
diff --git a/tests/ltw/aop-xset-verbose.xml b/tests/ltw/aop-xset-verbose.xml
new file mode 100644
index 000000000..e83ad709d
--- /dev/null
+++ b/tests/ltw/aop-xset-verbose.xml
@@ -0,0 +1,5 @@
+<aspectj>
+ <weaver options="-Xset:pipelineCompilation=false -verbose -showWeaveInfo -Xlintfile:Xlint-empty.properties"/>
+ <aspect name="Aspect1"/>
+</aspectj>
+
diff --git a/tests/ltw/aop-xset.xml b/tests/ltw/aop-xset.xml
new file mode 100644
index 000000000..dcad617ab
--- /dev/null
+++ b/tests/ltw/aop-xset.xml
@@ -0,0 +1,4 @@
+<aspectj>
+ <weaver options="-Xset:runMinimalMemory=true,pipelineCompilation=true,captureAllContext=false,activateLightweightDelegates=true,debugStructuralChangesCode=false,debugBridging=false -Xlintfile:Xlint-empty.properties"/>
+</aspectj>
+
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java b/tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java
index 73b6eebd1..5097fa861 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java
+++ b/tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java
@@ -65,6 +65,13 @@ public class LTWTests extends org.aspectj.testing.XMLBasedAjcTestCase {
runTest("Ensure weaver lint warning issued when an aspect is not used for weaving");
}
+ public void testXsetEnabled () {
+ runTest("Set Xset properties enabled");
+ }
+ public void testXsetDisabled () {
+ runTest("Set Xset properties disabled");
+ }
+
public void testXlintfileEmpty () {
runTest("Empty Xlint.properties file");
}
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml b/tests/src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml
index bc7120870..976d36e64 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml
+++ b/tests/src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml
@@ -235,6 +235,28 @@
</ajc-test>
<ajc-test dir="ltw"
+ title="Set Xset properties enabled"
+ keywords="xSet, ltw">
+ <compile
+ files="Main.java,Aspect1.aj"
+ >
+ </compile>
+ <run class="Main" ltw="aop-xset-verbose.xml" xlintfile="Xlint-empty.properties">
+ </run>
+ </ajc-test>
+
+ <ajc-test dir="ltw"
+ title="Set Xset properties disabled"
+ keywords="xSet, ltw">
+ <compile
+ files="Main.java,Aspect1.aj"
+ >
+ </compile>
+ <run class="Main" ltw="aop-xset-verbose.xml" xlintfile="Xlint-empty.properties">
+ </run>
+ </ajc-test>
+
+ <ajc-test dir="ltw"
title="Warning with missing Xlint.properties file"
keywords="xlint, ltw">
<compile