]> source.dussan.org Git - aspectj.git/commitdiff
two bad-input tests for the harness
authorwisberg <wisberg>
Wed, 14 May 2003 05:11:43 +0000 (05:11 +0000)
committerwisberg <wisberg>
Wed, 14 May 2003 05:11:43 +0000 (05:11 +0000)
tests/ajcHarnessTests.xml

index 608c27f9b0c042c2770641e4ccec0e81b5cc5b37..448aa5b08f372360cdee4a0cb5813f5338e280d0 100644 (file)
         </compile>
     </ajc-test>
 
+    <ajc-test dir="harness"
+      title="fail 2 error, with 1 bad filename">
+        <compile files="ErrorTest.java">
+            <message kind="error" line="5" file="ErrorTest.java"/>
+            <message kind="error" line="6" file="ErrorTest2.java"/>
+        </compile>
+    </ajc-test>
+    
+    <ajc-test dir="harness"
+      title="fail 2 error, with 2 bad filename">
+        <compile files="ErrorTest.java">
+            <message kind="error" line="5" file="ErrorTest.java"/>
+            <message kind="error" line="6" file="ErrorTest2.java"/>
+        </compile>
+    </ajc-test>
+
     <ajc-test dir="harness"
       title="fail 2 error, three expected"
      keywords="expect-fail">
                <run class="packageOne.Main" 
                   options="new-event"/> 
     </ajc-test>
-
+<!-- disabled pending resolution of same in ajcTestsFailing.xml
     <ajc-test dir="incremental/stringliteral"
        keywords="incremental-test,fixme"
                title="pass incrementally change only string literal size">
                        options="in longer packageOne.Main.main(..),
                                         before main packageOne.Main"/>
     </ajc-test>
+-->
 
    <ajc-test dir="incremental/defaultPackage/src"
        title="pass test using prior classes">