Class TestSetStats
java.lang.Object
org.apache.maven.plugin.surefire.report.TestSetStats
Maintains per-thread test result state. Not thread safe.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate intprivate intprivate static final Stringprivate static final Stringprivate intprivate static final Stringprivate static final Stringprivate longprivate final booleanprivate final Queue<WrappedReportEntry> private static final Stringprivate intprivate static final Stringprivate static final Stringprivate static final Stringprivate longprivate longprivate final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static StringconcatenateWithTestGroup(org.apache.maven.shared.utils.logging.MessageBuilder builder, ReportEntry report, boolean phrasedClassName) Append the test set message for a report.private voidfinishTest(WrappedReportEntry reportEntry) getColoredTestSetSummary(WrappedReportEntry reportEntry, boolean phrasedClassName) intintintintintintgetTestSetSummary(WrappedReportEntry reportEntry, boolean phrasedClassName) private voidvoidreset()voidtestError(WrappedReportEntry reportEntry) voidtestFailure(WrappedReportEntry reportEntry) voidvoidtestSkipped(WrappedReportEntry reportEntry) voidvoidtestSucceeded(WrappedReportEntry reportEntry)
-
Field Details
-
TESTS
- See Also:
-
RUN
- See Also:
-
TESTS_RUN
- See Also:
-
FAILURES
- See Also:
-
ERRORS
- See Also:
-
SKIPPED
- See Also:
-
FAILURE_MARKER
- See Also:
-
IN_MARKER
- See Also:
-
COMMA
- See Also:
-
reportEntries
-
trimStackTrace
private final boolean trimStackTrace -
plainFormat
private final boolean plainFormat -
testSetStartAt
private long testSetStartAt -
testStartAt
private long testStartAt -
completedCount
private int completedCount -
errors
private int errors -
failures
private int failures -
skipped
private int skipped -
lastStartAt
private long lastStartAt
-
-
Constructor Details
-
TestSetStats
public TestSetStats(boolean trimStackTrace, boolean plainFormat)
-
-
Method Details
-
getElapsedSinceTestSetStart
public int getElapsedSinceTestSetStart() -
getElapsedSinceLastStart
public int getElapsedSinceLastStart() -
testSetStart
public void testSetStart() -
testStart
public void testStart() -
finishTest
-
testSucceeded
-
testError
-
testFailure
-
testSkipped
-
reset
public void reset() -
getCompletedCount
public int getCompletedCount() -
getErrors
public int getErrors() -
getFailures
public int getFailures() -
getSkipped
public int getSkipped() -
incrementCompletedCount
private void incrementCompletedCount() -
getTestSetSummary
-
getColoredTestSetSummary
-
getTestResults
-
getReportEntries
-