org.apache.maven.surefire.report
Class SystemConsoleOutputReceiver

java.lang.Object
  extended by org.apache.maven.surefire.report.SystemConsoleOutputReceiver
All Implemented Interfaces:
ConsoleOutputReceiver

public class SystemConsoleOutputReceiver
extends Object
implements ConsoleOutputReceiver

Author:
Kristian Rosenvold

Constructor Summary
SystemConsoleOutputReceiver(PrintStream out, PrintStream err)
           
 
Method Summary
 void writeTestOutput(byte[] buf, int off, int len, boolean stdout)
          Forwards process output from the running test-case into the reporting system
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemConsoleOutputReceiver

public SystemConsoleOutputReceiver(PrintStream out,
                                   PrintStream err)
Method Detail

writeTestOutput

public void writeTestOutput(byte[] buf,
                            int off,
                            int len,
                            boolean stdout)
Description copied from interface: ConsoleOutputReceiver
Forwards process output from the running test-case into the reporting system

Specified by:
writeTestOutput in interface ConsoleOutputReceiver
Parameters:
buf - the buffer to write
off - offset
len - len
stdout - Indicates if this is stdout


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