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

java.lang.Object
  extended by org.apache.maven.plugin.surefire.report.TestSetRunListener
All Implemented Interfaces:
ConsoleLogger, ConsoleOutputReceiver, RunListener

public class TestSetRunListener
extends Object
implements RunListener, ConsoleOutputReceiver, ConsoleLogger

Reports data for a single test set.

Author:
Kristian Rosenvold

Constructor Summary
TestSetRunListener(ConsoleReporter consoleReporter, FileReporter fileReporter, StatelessXmlReporter simpleXMLReporter, TestcycleConsoleOutputReceiver consoleOutputReceiver, StatisticsReporter statisticsReporter, RunStatistics globalStats, boolean trimStackTrace, boolean isPlainFormat, boolean briefOrPlainFormat)
           
 
Method Summary
 void clearCapture()
           
 void close()
           
 String getAsString(List<ByteBuffer> byteBufferList)
           
 void info(String message)
           
 void testAssumptionFailure(ReportEntry report)
           
 void testError(ReportEntry reportEntry)
           
 void testFailed(ReportEntry reportEntry)
           
 void testSetCompleted(ReportEntry report)
           
 void testSetStarting(ReportEntry report)
           
 void testSkipped(ReportEntry reportEntry)
           
 void testStarting(ReportEntry report)
           
 void testSucceeded(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

TestSetRunListener

public TestSetRunListener(ConsoleReporter consoleReporter,
                          FileReporter fileReporter,
                          StatelessXmlReporter simpleXMLReporter,
                          TestcycleConsoleOutputReceiver consoleOutputReceiver,
                          StatisticsReporter statisticsReporter,
                          RunStatistics globalStats,
                          boolean trimStackTrace,
                          boolean isPlainFormat,
                          boolean briefOrPlainFormat)
Method Detail

info

public void info(String message)
Specified by:
info in interface ConsoleLogger

writeTestOutput

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

testSetStarting

public void testSetStarting(ReportEntry report)
Specified by:
testSetStarting in interface RunListener

clearCapture

public void clearCapture()

testSetCompleted

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

testStarting

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

testSucceeded

public void testSucceeded(ReportEntry reportEntry)
Specified by:
testSucceeded in interface RunListener

testError

public void testError(ReportEntry reportEntry)
Specified by:
testError in interface RunListener

testFailed

public void testFailed(ReportEntry reportEntry)
Specified by:
testFailed in interface RunListener

testSkipped

public void testSkipped(ReportEntry reportEntry)
Specified by:
testSkipped in interface RunListener

testAssumptionFailure

public void testAssumptionFailure(ReportEntry report)
Specified by:
testAssumptionFailure in interface RunListener

getAsString

public String getAsString(List<ByteBuffer> byteBufferList)

close

public void close()


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