]> source.dussan.org Git - aspectj.git/commitdiff
harness system.exit tests
authorwisberg <wisberg>
Sat, 31 May 2003 22:45:51 +0000 (22:45 +0000)
committerwisberg <wisberg>
Sat, 31 May 2003 22:45:51 +0000 (22:45 +0000)
tests/ajcHarnessTests.xml

index cbce79b61d10800b2f9bff6758f4672a25475162..65d974a6993d1ba221abbad78fca86c2d5edd6fc 100644 (file)
         <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>