public class TestSetStats extends Object
Constructor and Description |
---|
TestSetStats(boolean trimStackTrace,
boolean plainFormat) |
Modifier and Type | Method and Description |
---|---|
static String |
concatenateWithTestGroup(MessageBuilder builder,
ReportEntry report)
Append the test set message for a report.
|
String |
elapsedTimeAsString(long runTime) |
String |
getColoredTestSetSummary(WrappedReportEntry reportEntry) |
int |
getCompletedCount() |
int |
getElapsedSinceLastStart() |
int |
getElapsedSinceTestSetStart() |
int |
getErrors() |
int |
getFailures() |
Collection<WrappedReportEntry> |
getReportEntries() |
int |
getSkipped() |
List<String> |
getTestResults() |
String |
getTestSetSummary(WrappedReportEntry reportEntry) |
void |
reset() |
void |
testError(WrappedReportEntry reportEntry) |
void |
testFailure(WrappedReportEntry reportEntry) |
void |
testSetStart() |
void |
testSkipped(WrappedReportEntry reportEntry) |
void |
testStart() |
void |
testSucceeded(WrappedReportEntry reportEntry) |
public int getElapsedSinceTestSetStart()
public int getElapsedSinceLastStart()
public void testSetStart()
public void testStart()
public void testSucceeded(WrappedReportEntry reportEntry)
public void testError(WrappedReportEntry reportEntry)
public void testFailure(WrappedReportEntry reportEntry)
public void testSkipped(WrappedReportEntry reportEntry)
public void reset()
public int getCompletedCount()
public int getErrors()
public int getFailures()
public int getSkipped()
public String elapsedTimeAsString(long runTime)
public String getTestSetSummary(WrappedReportEntry reportEntry)
public String getColoredTestSetSummary(WrappedReportEntry reportEntry)
public Collection<WrappedReportEntry> getReportEntries()
public static String concatenateWithTestGroup(MessageBuilder builder, ReportEntry report)
builder
- MessageBuilder with preceded text insidereport
- report whose test set is startingCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.