Class ForkingRunListener

java.lang.Object
org.apache.maven.surefire.api.booter.ForkingRunListener
All Implemented Interfaces:
ConsoleLogger, RunListener, TestOutputReceiver<TestOutputReportEntry>, TestReportListener<TestOutputReportEntry>

public class ForkingRunListener extends Object implements TestReportListener<TestOutputReportEntry>
Encodes the full output of the test run to the "target".
This class and the ForkClient contain the full definition of the "wire-level" protocol used by the forked process. The protocol is *not* part of any public api and may change without further notice.
This class is thread-safe.
The synchronization in the underlying (target instance) is used to preserve thread safety of the target stream. To perform multiple writes/prints for a single request, they must synchronize on "target" variable in this class.
Author:
Kristian Rosenvold