diff --git a/build.xml b/build.xml index 08692b56c24..bff914772a7 100644 --- a/build.xml +++ b/build.xml @@ -738,7 +738,7 @@ - + @@ -748,8 +748,12 @@ + + + + @@ -773,10 +777,13 @@ + - + - + + + diff --git a/java/test/jmri/util/junit/PrintingTestListener.java b/java/test/jmri/util/junit/PrintingTestListener.java index d328923480f..f31d3acbc54 100644 --- a/java/test/jmri/util/junit/PrintingTestListener.java +++ b/java/test/jmri/util/junit/PrintingTestListener.java @@ -14,6 +14,7 @@ public class PrintingTestListener extends SummaryGeneratingListener { + /** * A {@link TextListener} implementation that can display the name * of run, failed and ignored tests run by JUnit @@ -27,7 +28,11 @@ public class PrintingTestListener extends SummaryGeneratingListener { * property is non-empty and non-false, the output is reduced to a minimal * summary. */ - + + public PrintingTestListener(){ + this(new PrintStream(System.out)); + } + public PrintingTestListener(PrintStream writer) { super(); this.writer = writer;