org.apache.maven.surefire.report
Interface ConsoleOutputReceiver

All Known Implementing Classes:
DefaultConsoleOutputReceiver, SystemConsoleOutputReceiver, TestConsoleOutputRunListener, TestConsoleOutputRunListener.OneThreadPerClassConsoleOutputRunListener, TestConsoleOutputRunListener.UnknownThreadPerClassConsoleOutputRunListener, TestSetRunListener

public interface ConsoleOutputReceiver

A receiver of stdout/sterr output from running tests. This receiver knows how to associate the output with a given testset.


Method Summary
 void writeTestOutput(byte[] buf, int off, int len, boolean stdout)
          Forwards process output from the running test-case into the reporting system
 

Method Detail

writeTestOutput

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

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.