ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit BriefJUnitResultFormatter.java
Date Sun, 09 Dec 2001 20:58:36 GMT
sbailliez    01/12/09 12:58:36

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/junit
                        BriefJUnitResultFormatter.java
  Log:
  Forgot to apply the filtering stack trace patch...
  Thanks to Erik Hatcher for keeping an eye open.
  
  Revision  Changes    Path
  1.6       +3 -2      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.java
  
  Index: BriefJUnitResultFormatter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- BriefJUnitResultFormatter.java	2001/10/29 14:25:07	1.5
  +++ BriefJUnitResultFormatter.java	2001/12/09 20:58:36	1.6
  @@ -248,9 +248,10 @@
               endTest(test);
           }
   
  -        resultWriter().println(formatTest(test) + ":" + type);
  +        resultWriter().println(formatTest(test) + type);
           resultWriter().println(error.getMessage());
  -        error.printStackTrace(resultWriter());
  +        String strace = JUnitTestRunner.getFilteredTrace(error);
  +        resultWriter().println(strace);
           resultWriter().println("");
       }
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message