Browse Source

Slightly change the output of the plain junit formatter to make it

more readable.

Submitted by:	David Rees <d.rees.l@usa.net>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269343 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 24 years ago
parent
commit
ebdc90aee8
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/junit/PlainJUnitResultFormatter.java

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

@@ -140,7 +140,6 @@ public class PlainJUnitResultFormatter implements JUnitResultFormatter {
sb.append(nf.format(suite.getRunTime()/1000.0));
sb.append(" sec");
sb.append(newLine);
sb.append(newLine);
// append the err and output streams to the log
if (systemOutput != null && systemOutput.length() > 0) {
@@ -159,6 +158,8 @@ public class PlainJUnitResultFormatter implements JUnitResultFormatter {
.append(newLine);
}

sb.append(newLine);

if (out != null) {
try {
out.write(sb.toString().getBytes());


Loading…
Cancel
Save