Class TestSetRunListener
java.lang.Object
org.apache.maven.plugin.surefire.report.TestSetRunListener
- All Implemented Interfaces:
ConsoleLogger,RunListener,TestOutputReceiver<TestOutputReportEntry>,TestReportListener<TestOutputReportEntry>
Reports data for a single test set.
- Author:
- Kristian Rosenvold
-
Constructor Summary
ConstructorsConstructorDescriptionTestSetRunListener(StatelessTestsetInfoConsoleReportEventListener<WrappedReportEntry, TestSetStats> consoleReporter, StatelessTestsetInfoFileReportEventListener<WrappedReportEntry, TestSetStats> fileReporter, StatelessReportEventListener<WrappedReportEntry, TestSetStats> simpleXMLReporter, ConsoleOutputReportEventListener testOutputReceiver, StatisticsReporter statisticsReporter, boolean trimStackTrace, boolean isPlainFormat, boolean briefOrPlainFormat, Object lock, boolean statPerSourceName) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidvoidvoidvoidvoidbooleanbooleanbooleanbooleanvoidtestAssumptionFailure(ReportEntry report) voidtestError(ReportEntry reportEntry) voidvoidtestFailed(ReportEntry reportEntry) voidtestSetCompleted(TestSetReportEntry report) voidtestSetStarting(TestSetReportEntry report) voidtestSkipped(ReportEntry reportEntry) voidtestStarting(ReportEntry report) voidtestSucceeded(ReportEntry reportEntry) voidvoidwriteTestOutput(TestOutputReportEntry reportEntry)
-
Constructor Details
-
TestSetRunListener
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, boolean statPerSourceName)
-
-
Method Details
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabledin interfaceConsoleLogger
-
debug
- Specified by:
debugin interfaceConsoleLogger
-
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabledin interfaceConsoleLogger
-
info
- Specified by:
infoin interfaceConsoleLogger
-
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
isWarnEnabledin interfaceConsoleLogger
-
warning
- Specified by:
warningin interfaceConsoleLogger
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabledin interfaceConsoleLogger
-
error
- Specified by:
errorin interfaceConsoleLogger
-
error
- Specified by:
errorin interfaceConsoleLogger
-
error
- Specified by:
errorin interfaceConsoleLogger
-
writeTestOutput
- Specified by:
writeTestOutputin interfaceTestOutputReceiver<TestOutputReportEntry>
-
testSetStarting
- Specified by:
testSetStartingin interfaceRunListener
-
testSetCompleted
- Specified by:
testSetCompletedin interfaceRunListener
-
testStarting
- Specified by:
testStartingin interfaceRunListener
-
testSucceeded
- Specified by:
testSucceededin interfaceRunListener
-
testError
- Specified by:
testErrorin interfaceRunListener
-
testFailed
- Specified by:
testFailedin interfaceRunListener
-
testSkipped
- Specified by:
testSkippedin interfaceRunListener
-
testExecutionSkippedByUser
public void testExecutionSkippedByUser()- Specified by:
testExecutionSkippedByUserin interfaceRunListener
-
testAssumptionFailure
- Specified by:
testAssumptionFailurein interfaceRunListener
-
close
public void close() -
getTestMethodStats
-