org.apache.maven.surefire.report
Class ConsoleOutputDirectReporter

java.lang.Object
  extended by org.apache.maven.surefire.report.ConsoleOutputDirectReporter
All Implemented Interfaces:
Reporter

public class ConsoleOutputDirectReporter
extends java.lang.Object
implements Reporter

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
ConsoleOutputDirectReporter(java.io.PrintStream reportsDirectory)
           
 
Method Summary
 void reset()
           
 void testError(ReportEntry report, java.lang.String stdOut, java.lang.String stdErr)
           
 void testFailed(ReportEntry report, java.lang.String stdOut, java.lang.String stdErr)
           
 void testSetCompleted(ReportEntry report)
           
 void testSetStarting(ReportEntry reportEntry)
           
 void testSkipped(ReportEntry report)
           
 void testStarting(ReportEntry report)
           
 void testSucceeded(ReportEntry report)
           
 void writeMessage(byte[] b, int off, int len)
           
 void writeMessage(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleOutputDirectReporter

public ConsoleOutputDirectReporter(java.io.PrintStream reportsDirectory)
Method Detail

testSetStarting

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

testSetCompleted

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

testStarting

public void testStarting(ReportEntry report)
Specified by:
testStarting in interface Reporter

testSucceeded

public void testSucceeded(ReportEntry report)
Specified by:
testSucceeded in interface Reporter

testSkipped

public void testSkipped(ReportEntry report)
Specified by:
testSkipped in interface Reporter

testError

public void testError(ReportEntry report,
                      java.lang.String stdOut,
                      java.lang.String stdErr)
Specified by:
testError in interface Reporter

testFailed

public void testFailed(ReportEntry report,
                       java.lang.String stdOut,
                       java.lang.String stdErr)
Specified by:
testFailed in interface Reporter

writeMessage

public void writeMessage(java.lang.String message)
Specified by:
writeMessage in interface Reporter

writeMessage

public void writeMessage(byte[] b,
                         int off,
                         int len)
Specified by:
writeMessage in interface Reporter

reset

public void reset()
Specified by:
reset in interface Reporter


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