Browse Source

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
master
Stefan Bodewig 24 years ago
parent
commit
ac1664c3fd
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/main/org/apache/tools/ant/taskdefs/optional/junit/BatchTest.java

+ 2
- 0
src/main/org/apache/tools/ant/taskdefs/optional/junit/BatchTest.java View File

@@ -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());


Loading…
Cancel
Save