public abstract class AbstractConsoleReporter extends AbstractTextReporter implements RunReporter
| Modifier and Type | Field and Description |
|---|---|
protected static int |
BUFFER_SIZE |
BRIEF, PLAIN, SUMMARY, writercompletedCount, errors, failures, NL, skipped, testSetStartTime| Modifier | Constructor and Description |
|---|---|
protected |
AbstractConsoleReporter(java.lang.String format,
ReporterConfiguration reporterConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getTestSetStartingMessage(ReportEntry report)
Get the test set starting message for a report.
|
static boolean |
isTestSetStartingMessage(java.lang.String message)
Check if the String passed as argument is a "test starting" message.
|
static ReportEntry |
parseTestSetStartingMessage(java.lang.String message)
Parses a Surefire test set starting message into a
ReportEntry object. |
void |
runStarting()
Indicates the start of the entire test run.
|
void |
testSetStarting(ReportEntry report)
Indicates the start of a given test-set
|
void |
writeHeading(java.lang.String message) |
getElapsedTimeSummary, getOutput, getTestSetSummary, isTestSetCompletedMessage, reset, setWriter, testError, testFailed, testSetCompleted, testSkipped, testSucceeded, writeDetailMessage, writeMessagedeleteIfExisting, elapsedTimeAsString, getActualRunTime, getNumErrors, getNumFailures, getNumSkipped, getNumTests, getStackTrace, isTimedOut, runCompleted, testAssumptionFailure, testError, testFailed, testStarting, writeFooterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunCompletedprotected static final int BUFFER_SIZE
protected AbstractConsoleReporter(java.lang.String format,
ReporterConfiguration reporterConfiguration)
public void testSetStarting(ReportEntry report) throws ReporterException
ReportertestSetStarting in interface ReportertestSetStarting in interface ReportWritertestSetStarting in class AbstractTextReporterreport - the report entry describing the testsetReporterException - When reporting failspublic void runStarting()
RunReporterrunStarting in interface RunReporterrunStarting in class AbstractReporterpublic void writeHeading(java.lang.String message)
public static java.lang.String getTestSetStartingMessage(ReportEntry report)
report - report whose test set is startingpublic static ReportEntry parseTestSetStartingMessage(java.lang.String message)
ReportEntry object.
Only name and group will be set if applicable.message - The test starting messageReportEntrypublic static boolean isTestSetStartingMessage(java.lang.String message)
parseTestSetStartingMessage(String)message - the message to checkCopyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.