Browse Source

harness system.exit tests

tags/V1_1_0
wisberg 21 years ago
parent
commit
b5256c9708
1 changed files with 20 additions and 0 deletions
  1. 20
    0
      tests/ajcHarnessTests.xml

+ 20
- 0
tests/ajcHarnessTests.xml View File

@@ -265,6 +265,26 @@
<run class="app.Main"/>
</ajc-test>
<ajc-test dir="harness/systemExit"
title="pass System exit 0">
<compile files="SystemExit.java"/>
<run class="SystemExit"/>
</ajc-test>

<ajc-test dir="harness/systemExit"
keywords="expect-fail"
title="fail System exit 1">
<compile files="SystemExit.java"/>
<run class="SystemExit" options="1"/>
</ajc-test>
<ajc-test dir="harness/systemExit"
keywords="expect-fail"
title="fail System exit -1">
<compile files="SystemExit.java"/>
<run class="SystemExit" options="-1"/>
</ajc-test>
</suite>



Loading…
Cancel
Save