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 java.lang.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
Constructors Constructor Description TestSetRunListener(ConsoleReporter consoleReporter, FileReporter fileReporter, StatelessXmlReporter simpleXMLReporter, TestcycleConsoleOutputReceiver consoleOutputReceiver, StatisticsReporter statisticsReporter, boolean trimStackTrace, boolean isPlainFormat, boolean briefOrPlainFormat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
debug(java.lang.String message)
void
error(java.lang.String message)
void
error(java.lang.String message, java.lang.Throwable t)
void
error(java.lang.Throwable t)
java.util.Queue<TestMethodStats>
getTestMethodStats()
void
info(java.lang.String message)
boolean
isDebugEnabled()
boolean
isErrorEnabled()
boolean
isInfoEnabled()
boolean
isWarnEnabled()
void
testAssumptionFailure(org.apache.maven.surefire.report.ReportEntry report)
void
testError(org.apache.maven.surefire.report.ReportEntry reportEntry)
void
testExecutionSkippedByUser()
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
warning(java.lang.String message)
void
writeTestOutput(byte[] buf, int off, int len, boolean stdout)
-
-
-
Constructor Detail
-
TestSetRunListener
public TestSetRunListener(ConsoleReporter consoleReporter, FileReporter fileReporter, StatelessXmlReporter simpleXMLReporter, TestcycleConsoleOutputReceiver consoleOutputReceiver, StatisticsReporter statisticsReporter, boolean trimStackTrace, boolean isPlainFormat, boolean briefOrPlainFormat)
-
-
Method Detail
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
debug
public void debug(java.lang.String message)
- 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
public void info(java.lang.String message)
- 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
public void warning(java.lang.String message)
- 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
public void error(java.lang.String message)
- Specified by:
error
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
error
public void error(java.lang.String message, java.lang.Throwable t)
- Specified by:
error
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
error
public void error(java.lang.Throwable t)
- 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
public java.util.Queue<TestMethodStats> getTestMethodStats()
-
-