org.apache.maven.plugin.surefire.report
Class DirectConsoleOutput

java.lang.Object
  extended by org.apache.maven.plugin.surefire.report.DirectConsoleOutput
All Implemented Interfaces:
TestcycleConsoleOutputReceiver, ConsoleOutputReceiver

public class DirectConsoleOutput
extends Object
implements TestcycleConsoleOutputReceiver

Outputs test system out/system err directly to the console

Just a step on the road to getting the separation of reporting concerns operating properly.

Author:
Kristian Rosenvold

Constructor Summary
DirectConsoleOutput(PrintStream sout, PrintStream serr)
           
 
Method Summary
 void close()
           
 void testSetCompleted(ReportEntry report)
           
 void testSetStarting(ReportEntry reportEntry)
           
 void writeTestOutput(byte[] buf, int off, int len, boolean stdout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectConsoleOutput

public DirectConsoleOutput(PrintStream sout,
                           PrintStream serr)
Method Detail

writeTestOutput

public void writeTestOutput(byte[] buf,
                            int off,
                            int len,
                            boolean stdout)
Specified by:
writeTestOutput in interface ConsoleOutputReceiver

testSetStarting

public void testSetStarting(ReportEntry reportEntry)
Specified by:
testSetStarting in interface TestcycleConsoleOutputReceiver

testSetCompleted

public void testSetCompleted(ReportEntry report)
Specified by:
testSetCompleted in interface TestcycleConsoleOutputReceiver

close

public void close()
Specified by:
close in interface TestcycleConsoleOutputReceiver


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.