summaryrefslogtreecommitdiffstats
path: root/tests/ajcHarnessTests.xml
diff options
context:
space:
mode:
authorwisberg <wisberg>2004-10-06 08:40:36 +0000
committerwisberg <wisberg>2004-10-06 08:40:36 +0000
commit7a18d808a067c45dcf03bfc1d431a64441b62f1d (patch)
treea2c5362c3d2f579fba34c752345732ae55a3b154 /tests/ajcHarnessTests.xml
parentf54f7e805474b561810a46fb3493cbc5fda68d4b (diff)
downloadaspectj-7a18d808a067c45dcf03bfc1d431a64441b62f1d.tar.gz
aspectj-7a18d808a067c45dcf03bfc1d431a64441b62f1d.zip
tests for new java run fork attributes
Diffstat (limited to 'tests/ajcHarnessTests.xml')
-rw-r--r--tests/ajcHarnessTests.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/ajcHarnessTests.xml b/tests/ajcHarnessTests.xml
index d3534b01d..56c098a38 100644
--- a/tests/ajcHarnessTests.xml
+++ b/tests/ajcHarnessTests.xml
@@ -439,6 +439,28 @@
<dir-changes updated="Removed"/>
</inc-compile>
</ajc-test>
+
+ <ajc-test dir="harness"
+ keywords="expect-fail"
+ title="fail not forking or setting property">
+ <compile files="SystemPropertiesTest.java"/>
+ <run class="SystemPropertiesTest" fork="false"/>
+ </ajc-test>
+
+ <ajc-test dir="harness"
+ keywords="expect-fail"
+ title="fail fork without setting property">
+ <compile files="SystemPropertiesTest.java"/>
+ <run class="SystemPropertiesTest" fork="true"/>
+ </ajc-test>
+
+ <ajc-test dir="harness"
+ title="pass fork and set property">
+ <compile files="SystemPropertiesTest.java"/>
+ <run class="SystemPropertiesTest"
+ fork="true"
+ vmargs="-DPASS=true,-Dname=value"/>
+ </ajc-test>
</suite>