From ac1664c3fdae2848480acfb061ab8413daa00923 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Fri, 3 Aug 2001 14:44:25 +0000 Subject: [PATCH] Propagate errorproperty and failureproperty from BatchTest to all of its elements. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269454 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tools/ant/taskdefs/optional/junit/BatchTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/junit/BatchTest.java b/src/main/org/apache/tools/ant/taskdefs/optional/junit/BatchTest.java index 13ad520b2..e67c3dd89 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/junit/BatchTest.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/junit/BatchTest.java @@ -202,6 +202,8 @@ public final class BatchTest extends BaseTest { test.setIf(this.ifProperty); test.setUnless(this.unlessProperty); test.setTodir(this.destDir); + test.setFailureProperty(failureProperty); + test.setErrorProperty(errorProperty); Enumeration list = this.formatters.elements(); while (list.hasMoreElements()) { test.addFormatter((FormatterElement)list.nextElement());