diff options
author | wisberg <wisberg> | 2003-05-31 22:45:51 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-05-31 22:45:51 +0000 |
commit | b5256c97086bbeb8dc7a61734c76c954bde2fb92 (patch) | |
tree | 23986b85f1acb4637caf4941a1832c3d37e2df93 /tests/ajcHarnessTests.xml | |
parent | 24bc172c62d1ac2211c460567e166e6ada77c43c (diff) | |
download | aspectj-b5256c97086bbeb8dc7a61734c76c954bde2fb92.tar.gz aspectj-b5256c97086bbeb8dc7a61734c76c954bde2fb92.zip |
harness system.exit tests
Diffstat (limited to 'tests/ajcHarnessTests.xml')
-rw-r--r-- | tests/ajcHarnessTests.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/ajcHarnessTests.xml b/tests/ajcHarnessTests.xml index cbce79b61..65d974a69 100644 --- a/tests/ajcHarnessTests.xml +++ b/tests/ajcHarnessTests.xml @@ -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> |