public class TestSetRunListener extends Object implements RunListener, ConsoleOutputReceiver, org.apache.maven.plugin.surefire.log.api.ConsoleLogger
| Constructor and Description |
|---|
TestSetRunListener(StatelessTestsetInfoConsoleReportEventListener<WrappedReportEntry,TestSetStats> consoleReporter,
StatelessTestsetInfoFileReportEventListener<WrappedReportEntry,TestSetStats> fileReporter,
StatelessReportEventListener<WrappedReportEntry,TestSetStats> simpleXMLReporter,
ConsoleOutputReportEventListener consoleOutputReceiver,
StatisticsReporter statisticsReporter,
boolean trimStackTrace,
boolean isPlainFormat,
boolean briefOrPlainFormat) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
debug(String message) |
void |
error(String message) |
void |
error(String message,
Throwable t) |
void |
error(Throwable t) |
Queue<TestMethodStats> |
getTestMethodStats() |
void |
info(String message) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isWarnEnabled() |
RunMode |
markAs(RunMode currentRunMode) |
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) |
void |
warning(String message) |
void |
writeTestOutput(String output,
boolean newLine,
boolean stdout) |
public TestSetRunListener(StatelessTestsetInfoConsoleReportEventListener<WrappedReportEntry,TestSetStats> consoleReporter, StatelessTestsetInfoFileReportEventListener<WrappedReportEntry,TestSetStats> fileReporter, StatelessReportEventListener<WrappedReportEntry,TestSetStats> simpleXMLReporter, ConsoleOutputReportEventListener consoleOutputReceiver, StatisticsReporter statisticsReporter, boolean trimStackTrace, boolean isPlainFormat, boolean briefOrPlainFormat)
public boolean isDebugEnabled()
isDebugEnabled in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic void debug(String message)
debug in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic boolean isInfoEnabled()
isInfoEnabled in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic void info(String message)
info in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic boolean isWarnEnabled()
isWarnEnabled in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic void warning(String message)
warning in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic boolean isErrorEnabled()
isErrorEnabled in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic void error(String message)
error in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic void error(String message, Throwable t)
error in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic void error(Throwable t)
error in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic void writeTestOutput(String output, boolean newLine, boolean stdout)
writeTestOutput in interface ConsoleOutputReceiverpublic void testSetStarting(TestSetReportEntry report)
testSetStarting in interface RunListenerpublic void testSetCompleted(TestSetReportEntry report)
testSetCompleted in interface RunListenerpublic void testStarting(ReportEntry report)
testStarting in interface RunListenerpublic void testSucceeded(ReportEntry reportEntry)
testSucceeded in interface RunListenerpublic void testError(ReportEntry reportEntry)
testError in interface RunListenerpublic void testFailed(ReportEntry reportEntry)
testFailed in interface RunListenerpublic void testSkipped(ReportEntry reportEntry)
testSkipped in interface RunListenerpublic void testExecutionSkippedByUser()
testExecutionSkippedByUser in interface RunListenerpublic RunMode markAs(RunMode currentRunMode)
markAs in interface RunListenerpublic void testAssumptionFailure(ReportEntry report)
testAssumptionFailure in interface RunListenerpublic void close()
public Queue<TestMethodStats> getTestMethodStats()
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.