bodewig     01/08/03 07:44:25

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/junit
                        BatchTest.java
  Log:
  Propagate errorproperty and failureproperty from BatchTest to all of
  its elements.
  
  Revision  Changes    Path
  1.7       +2 -0      
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/BatchTest.java
  
  Index: BatchTest.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/BatchTest.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- BatchTest.java    2001/07/24 13:28:56     1.6
  +++ BatchTest.java    2001/08/03 14:44:25     1.7
  @@ -202,6 +202,8 @@
           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());
  
  
  

Reply via email to