]> source.dussan.org Git - aspectj.git/commitdiff
Fix AjcTaskTest regarding Ajc output
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Sun, 21 Mar 2021 12:57:55 +0000 (19:57 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Sun, 21 Mar 2021 12:57:55 +0000 (19:57 +0700)
Another follow-up commit on @31b2d60b

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
taskdefs/src/test/java/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java

index 4b387c21b224fb42d17472c394d155d695f154aa..8e9008fba115ae1b96bfb7e926783a127f97e9e2 100644 (file)
@@ -651,7 +651,7 @@ public class AjcTaskTest extends TestCase {
        public void testNoSuchFileList() {
                AjcTask task = getTask("NoSuchFile.lst");
                task.setFailonerror(false);
-               runTest(task, NO_EXCEPTION, MessageHolderChecker.ONE_ERROR_ONE_ABORT);
+               runTest(task, NO_EXCEPTION, MessageHolderChecker.ONE_ERROR);
        }
 
        public void testVersions() {
@@ -734,7 +734,7 @@ public class AjcTaskTest extends TestCase {
        public void testNoFile() {
                AjcTask task = getTask(NOFILE);
                task.setFailonerror(false);
-               runTest(task, NO_EXCEPTION, MessageHolderChecker.ONE_ERROR_ONE_ABORT);
+               runTest(task, NO_EXCEPTION, MessageHolderChecker.ONE_ERROR);
        }
 
        public void testCompileErrorFile() {
@@ -753,7 +753,7 @@ public class AjcTaskTest extends TestCase {
        public void testNoSuchFile() {
                AjcTask task = getTask("NoSuchFile.lst");
                task.setFailonerror(false);
-               runTest(task, NO_EXCEPTION, MessageHolderChecker.ONE_ERROR_ONE_ABORT);
+               runTest(task, NO_EXCEPTION, MessageHolderChecker.ONE_ERROR);
        }
 
     public void testDefaultFileComplete() {