Class TestSetRunListener
java.lang.Object
org.apache.maven.plugin.surefire.report.TestSetRunListener
- All Implemented Interfaces:
org.apache.maven.plugin.surefire.log.api.ConsoleLogger
,org.apache.maven.surefire.report.ConsoleOutputReceiver
,org.apache.maven.surefire.report.RunListener
public class TestSetRunListener
extends Object
implements org.apache.maven.surefire.report.RunListener, org.apache.maven.surefire.report.ConsoleOutputReceiver, org.apache.maven.plugin.surefire.log.api.ConsoleLogger
Reports data for a single test set.
- Author:
- Kristian Rosenvold
-
Constructor Summary
ConstructorsConstructorDescriptionTestSetRunListener
(ConsoleReporter consoleReporter, FileReporter fileReporter, StatelessXmlReporter simpleXMLReporter, TestcycleConsoleOutputReceiver consoleOutputReceiver, StatisticsReporter statisticsReporter, boolean trimStackTrace, boolean isPlainFormat, boolean briefOrPlainFormat) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
void
void
void
void
boolean
boolean
boolean
boolean
void
testAssumptionFailure
(org.apache.maven.surefire.report.ReportEntry report) void
testError
(org.apache.maven.surefire.report.ReportEntry reportEntry) void
void
testFailed
(org.apache.maven.surefire.report.ReportEntry reportEntry) void
testSetCompleted
(org.apache.maven.surefire.report.TestSetReportEntry report) void
testSetStarting
(org.apache.maven.surefire.report.TestSetReportEntry report) void
testSkipped
(org.apache.maven.surefire.report.ReportEntry reportEntry) void
testStarting
(org.apache.maven.surefire.report.ReportEntry report) void
testSucceeded
(org.apache.maven.surefire.report.ReportEntry reportEntry) void
void
writeTestOutput
(byte[] buf, int off, int len, boolean stdout)
-
Constructor Details
-
TestSetRunListener
public TestSetRunListener(ConsoleReporter consoleReporter, FileReporter fileReporter, StatelessXmlReporter simpleXMLReporter, TestcycleConsoleOutputReceiver consoleOutputReceiver, StatisticsReporter statisticsReporter, boolean trimStackTrace, boolean isPlainFormat, boolean briefOrPlainFormat)
-
-
Method Details
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabled
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
debug
- Specified by:
debug
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabled
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
info
- Specified by:
info
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
isWarnEnabled
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
warning
- Specified by:
warning
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabled
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
error
- Specified by:
error
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
error
- Specified by:
error
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
error
- Specified by:
error
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
writeTestOutput
public void writeTestOutput(byte[] buf, int off, int len, boolean stdout) - Specified by:
writeTestOutput
in interfaceorg.apache.maven.surefire.report.ConsoleOutputReceiver
-
testSetStarting
public void testSetStarting(org.apache.maven.surefire.report.TestSetReportEntry report) - Specified by:
testSetStarting
in interfaceorg.apache.maven.surefire.report.RunListener
-
testSetCompleted
public void testSetCompleted(org.apache.maven.surefire.report.TestSetReportEntry report) - Specified by:
testSetCompleted
in interfaceorg.apache.maven.surefire.report.RunListener
-
testStarting
public void testStarting(org.apache.maven.surefire.report.ReportEntry report) - Specified by:
testStarting
in interfaceorg.apache.maven.surefire.report.RunListener
-
testSucceeded
public void testSucceeded(org.apache.maven.surefire.report.ReportEntry reportEntry) - Specified by:
testSucceeded
in interfaceorg.apache.maven.surefire.report.RunListener
-
testError
public void testError(org.apache.maven.surefire.report.ReportEntry reportEntry) - Specified by:
testError
in interfaceorg.apache.maven.surefire.report.RunListener
-
testFailed
public void testFailed(org.apache.maven.surefire.report.ReportEntry reportEntry) - Specified by:
testFailed
in interfaceorg.apache.maven.surefire.report.RunListener
-
testSkipped
public void testSkipped(org.apache.maven.surefire.report.ReportEntry reportEntry) - Specified by:
testSkipped
in interfaceorg.apache.maven.surefire.report.RunListener
-
testExecutionSkippedByUser
public void testExecutionSkippedByUser()- Specified by:
testExecutionSkippedByUser
in interfaceorg.apache.maven.surefire.report.RunListener
-
testAssumptionFailure
public void testAssumptionFailure(org.apache.maven.surefire.report.ReportEntry report) - Specified by:
testAssumptionFailure
in interfaceorg.apache.maven.surefire.report.RunListener
-
close
public void close() -
getTestMethodStats
-