public class TestSetRunListener extends Object implements RunListener, ConsoleOutputReceiver, org.apache.maven.plugin.surefire.log.api.ConsoleLogger
| Constructor and Description |
|---|
TestSetRunListener(ConsoleReporter consoleReporter,
FileReporter fileReporter,
StatelessXmlReporter simpleXMLReporter,
TestcycleConsoleOutputReceiver consoleOutputReceiver,
StatisticsReporter statisticsReporter,
boolean trimStackTrace,
boolean isPlainFormat,
boolean briefOrPlainFormat) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTestMethodStats() |
void |
clearCapture() |
void |
close() |
void |
debug(String message) |
void |
error(String message) |
void |
error(String message,
Throwable t) |
void |
error(Throwable t) |
List<TestMethodStats> |
getTestMethodStats() |
void |
info(String message) |
void |
testAssumptionFailure(ReportEntry report) |
void |
testError(ReportEntry reportEntry) |
void |
testExecutionSkippedByUser() |
void |
testFailed(ReportEntry reportEntry) |
void |
testSetCompleted(ReportEntry report) |
void |
testSetStarting(ReportEntry report) |
void |
testSkipped(ReportEntry reportEntry) |
void |
testStarting(ReportEntry report) |
void |
testSucceeded(ReportEntry reportEntry) |
static String |
trimTrailingNewLine(String message) |
void |
warning(String message) |
void |
writeTestOutput(byte[] buf,
int off,
int len,
boolean stdout) |
public TestSetRunListener(ConsoleReporter consoleReporter, FileReporter fileReporter, StatelessXmlReporter simpleXMLReporter, TestcycleConsoleOutputReceiver consoleOutputReceiver, StatisticsReporter statisticsReporter, boolean trimStackTrace, boolean isPlainFormat, boolean briefOrPlainFormat)
public void debug(String message)
debug 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 void warning(String message)
warning 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(byte[] buf,
int off,
int len,
boolean stdout)
writeTestOutput in interface ConsoleOutputReceiverpublic void testSetStarting(ReportEntry report)
testSetStarting in interface RunListenerpublic void clearCapture()
public void testSetCompleted(ReportEntry 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 void testAssumptionFailure(ReportEntry report)
testAssumptionFailure in interface RunListenerpublic void close()
public void addTestMethodStats()
public List<TestMethodStats> getTestMethodStats()
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.