Top Fields Constructors Methods
org.junit.platform.reporting.legacy.xml

pack-priv Class XmlReportData

extends Object
Class Inheritance
Static Imports
java.util.Collections.emptyList, org.junit.platform.engine.TestExecutionResult.Status.ABORTED

Since
1.4

Field Summary

Modifier and TypeField and Description
private final Clock
private final Map<TestIdentifier, Instant>
private final Map<TestIdentifier, TestExecutionResult>
private static final int
private final Map<TestIdentifier, List<ReportEntry>>
private final Map<TestIdentifier, String>
private final Map<TestIdentifier, Instant>
private final TestPlan

Constructor Summary

AccessConstructor and Description
pack-priv
XmlReportData(TestPlan testPlan, Clock clock)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
addReportEntry(TestIdentifier testIdentifier, ReportEntry entry)

private Optional<TestIdentifier>
private Optional<TestIdentifier>
private List<TestIdentifier>
getAncestors(TestIdentifier testIdentifier)

pack-priv Clock
pack-priv double
pack-priv List<ReportEntry>
pack-priv List<TestExecutionResult>
getResults(TestIdentifier testIdentifier)

pack-priv @Nullable String
getSkipReason(TestIdentifier testIdentifier)

pack-priv TestPlan
pack-priv void
pack-priv void
markSkipped(TestIdentifier testIdentifier, @Nullable String reason)

pack-priv void
markStarted(TestIdentifier testIdentifier)

pack-priv boolean
wasSkipped(TestIdentifier testIdentifier)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

clockback to summary
private final Clock clock
endInstantsback to summary
private final Map<TestIdentifier, Instant> endInstants
finishedTestsback to summary
private final Map<TestIdentifier, TestExecutionResult> finishedTests
MILLIS_PER_SECONDback to summary
private static final int MILLIS_PER_SECOND
reportEntriesback to summary
private final Map<TestIdentifier, List<ReportEntry>> reportEntries
skippedTestsback to summary
private final Map<TestIdentifier, String> skippedTests
startInstantsback to summary
private final Map<TestIdentifier, Instant> startInstants
testPlanback to summary
private final TestPlan testPlan

Constructor Detail

XmlReportDataback to summary
pack-priv XmlReportData(TestPlan testPlan, Clock clock)

Method Detail

addReportEntryback to summary
pack-priv void addReportEntry(TestIdentifier testIdentifier, ReportEntry entry)
findAncestorback to summary
private Optional<TestIdentifier> findAncestor(TestIdentifier testIdentifier, Predicate<TestIdentifier> predicate)
findSkippedAncestorback to summary
private Optional<TestIdentifier> findSkippedAncestor(TestIdentifier testIdentifier)
getAncestorsback to summary
private List<TestIdentifier> getAncestors(TestIdentifier testIdentifier)
getClockback to summary
pack-priv Clock getClock()
getDurationInSecondsback to summary
pack-priv double getDurationInSeconds(TestIdentifier testIdentifier)
getReportEntriesback to summary
pack-priv List<ReportEntry> getReportEntries(TestIdentifier testIdentifier)
getResultsback to summary
pack-priv List<TestExecutionResult> getResults(TestIdentifier testIdentifier)
getSkipReasonback to summary
pack-priv @Nullable String getSkipReason(TestIdentifier testIdentifier)
getTestPlanback to summary
pack-priv TestPlan getTestPlan()
markFinishedback to summary
pack-priv void markFinished(TestIdentifier testIdentifier, TestExecutionResult result)
markSkippedback to summary
pack-priv void markSkipped(TestIdentifier testIdentifier, @Nullable String reason)
markStartedback to summary
pack-priv void markStarted(TestIdentifier testIdentifier)
wasSkippedback to summary
pack-priv boolean wasSkipped(TestIdentifier testIdentifier)