public class TestSetRunListener extends Object implements RunListener, ConsoleOutputReceiver, org.apache.maven.plugin.surefire.log.api.ConsoleLogger
Constructor and Description |
---|
TestSetRunListener(ConsoleReporter consoleReporter,
FileReporter fileReporter,
StatelessXmlReporter simpleXMLReporter,
TestcycleConsoleOutputReceiver consoleOutputReceiver,
StatisticsReporter statisticsReporter,
boolean trimStackTrace,
boolean isPlainFormat,
boolean briefOrPlainFormat) |
Modifier and Type | Method and Description |
---|---|
void |
addTestMethodStats() |
void |
clearCapture() |
void |
close() |
void |
debug(String message) |
void |
error(String message) |
void |
error(String message,
Throwable t) |
void |
error(Throwable t) |
List<TestMethodStats> |
getTestMethodStats() |
void |
info(String message) |
void |
testAssumptionFailure(ReportEntry report) |
void |
testError(ReportEntry reportEntry) |
void |
testExecutionSkippedByUser() |
void |
testFailed(ReportEntry reportEntry) |
void |
testSetCompleted(TestSetReportEntry report) |
void |
testSetStarting(TestSetReportEntry report) |
void |
testSkipped(ReportEntry reportEntry) |
void |
testStarting(ReportEntry report) |
void |
testSucceeded(ReportEntry reportEntry) |
static String |
trimTrailingNewLine(String message) |
void |
warning(String message) |
void |
writeTestOutput(byte[] buf,
int off,
int len,
boolean stdout) |
public TestSetRunListener(ConsoleReporter consoleReporter, FileReporter fileReporter, StatelessXmlReporter simpleXMLReporter, TestcycleConsoleOutputReceiver consoleOutputReceiver, StatisticsReporter statisticsReporter, boolean trimStackTrace, boolean isPlainFormat, boolean briefOrPlainFormat)
public void debug(String message)
debug
in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
public void info(String message)
info
in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
public void warning(String message)
warning
in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
public void error(String message)
error
in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
public void error(String message, Throwable t)
error
in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
public void error(Throwable t)
error
in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
public void writeTestOutput(byte[] buf, int off, int len, boolean stdout)
writeTestOutput
in interface ConsoleOutputReceiver
public void testSetStarting(TestSetReportEntry report)
testSetStarting
in interface RunListener
public void clearCapture()
public void testSetCompleted(TestSetReportEntry report)
testSetCompleted
in interface RunListener
public void testStarting(ReportEntry report)
testStarting
in interface RunListener
public void testSucceeded(ReportEntry reportEntry)
testSucceeded
in interface RunListener
public void testError(ReportEntry reportEntry)
testError
in interface RunListener
public void testFailed(ReportEntry reportEntry)
testFailed
in interface RunListener
public void testSkipped(ReportEntry reportEntry)
testSkipped
in interface RunListener
public void testExecutionSkippedByUser()
testExecutionSkippedByUser
in interface RunListener
public void testAssumptionFailure(ReportEntry report)
testAssumptionFailure
in interface RunListener
public void close()
public void addTestMethodStats()
public List<TestMethodStats> getTestMethodStats()
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.