From 72a092fcd925ccbcd5579a168a690ca44236eb12 Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Sun, 21 Mar 2021 19:57:55 +0700 Subject: [PATCH] Fix AjcTaskTest regarding Ajc output Another follow-up commit on @31b2d60b Signed-off-by: Alexander Kriegisch --- .../java/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/taskdefs/src/test/java/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java b/taskdefs/src/test/java/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java index 4b387c21b..8e9008fba 100644 --- a/taskdefs/src/test/java/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java +++ b/taskdefs/src/test/java/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java @@ -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() { -- 2.39.5