Class XmlReportWriter.AggregatedTestResult
- java.lang.Object
-
- org.junit.platform.reporting.legacy.xml.XmlReportWriter.AggregatedTestResult
-
- Enclosing class:
- XmlReportWriter
static class XmlReportWriter.AggregatedTestResult extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classXmlReportWriter.AggregatedTestResult.Type
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<TestExecutionResult>executionResultsprivate static XmlReportWriter.AggregatedTestResultSKIPPED_RESULTprivate XmlReportWriter.AggregatedTestResult.Typetype
-
Constructor Summary
Constructors Modifier Constructor Description privateAggregatedTestResult(XmlReportWriter.AggregatedTestResult.Type type, java.util.List<TestExecutionResult> executionResults)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<XmlReportWriter.AggregatedTestResult.Type,java.util.List<java.util.Optional<java.lang.Throwable>>>getThrowablesByType()static XmlReportWriter.AggregatedTestResultnonSkipped(java.util.List<TestExecutionResult> executionResults)static XmlReportWriter.AggregatedTestResultskipped()
-
-
-
Field Detail
-
SKIPPED_RESULT
private static final XmlReportWriter.AggregatedTestResult SKIPPED_RESULT
-
type
private final XmlReportWriter.AggregatedTestResult.Type type
-
executionResults
private final java.util.List<TestExecutionResult> executionResults
-
-
Constructor Detail
-
AggregatedTestResult
private AggregatedTestResult(XmlReportWriter.AggregatedTestResult.Type type, java.util.List<TestExecutionResult> executionResults)
-
-
Method Detail
-
skipped
public static XmlReportWriter.AggregatedTestResult skipped()
-
nonSkipped
public static XmlReportWriter.AggregatedTestResult nonSkipped(java.util.List<TestExecutionResult> executionResults)
-
getThrowablesByType
public java.util.Map<XmlReportWriter.AggregatedTestResult.Type,java.util.List<java.util.Optional<java.lang.Throwable>>> getThrowablesByType()
-
-