public class TestSetRunListener extends Object implements TestReportListener<TestOutputReportEntry>
Constructor and Description |
---|
TestSetRunListener(StatelessTestsetInfoConsoleReportEventListener<WrappedReportEntry,TestSetStats> consoleReporter,
StatelessTestsetInfoFileReportEventListener<WrappedReportEntry,TestSetStats> fileReporter,
StatelessReportEventListener<WrappedReportEntry,TestSetStats> simpleXMLReporter,
ConsoleOutputReportEventListener testOutputReceiver,
StatisticsReporter statisticsReporter,
boolean trimStackTrace,
boolean isPlainFormat,
boolean briefOrPlainFormat,
Object lock) |
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() |
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(TestOutputReportEntry reportEntry) |
public TestSetRunListener(StatelessTestsetInfoConsoleReportEventListener<WrappedReportEntry,TestSetStats> consoleReporter, StatelessTestsetInfoFileReportEventListener<WrappedReportEntry,TestSetStats> fileReporter, StatelessReportEventListener<WrappedReportEntry,TestSetStats> simpleXMLReporter, ConsoleOutputReportEventListener testOutputReceiver, StatisticsReporter statisticsReporter, boolean trimStackTrace, boolean isPlainFormat, boolean briefOrPlainFormat, Object lock)
public boolean isDebugEnabled()
isDebugEnabled
in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
public void debug(String message)
debug
in interface org.apache.maven.plugin.surefire.log.api.ConsoleLogger
public boolean isInfoEnabled()
isInfoEnabled
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 boolean isWarnEnabled()
isWarnEnabled
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 boolean isErrorEnabled()
isErrorEnabled
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(TestOutputReportEntry reportEntry)
writeTestOutput
in interface TestOutputReceiver<TestOutputReportEntry>
public void testSetStarting(TestSetReportEntry report)
testSetStarting
in interface RunListener
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 Queue<TestMethodStats> getTestMethodStats()
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.