From: Alexander Kriegisch Date: Sun, 21 Mar 2021 12:57:55 +0000 (+0700) Subject: Fix AjcTaskTest regarding Ajc output X-Git-Tag: java16-add-opens~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=72a092fcd925ccbcd5579a168a690ca44236eb12;p=aspectj.git Fix AjcTaskTest regarding Ajc output Another follow-up commit on @31b2d60b Signed-off-by: Alexander Kriegisch --- 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() {