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 class
XmlReportWriter.AggregatedTestResult.Type
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<TestExecutionResult>
executionResults
private static XmlReportWriter.AggregatedTestResult
SKIPPED_RESULT
private XmlReportWriter.AggregatedTestResult.Type
type
-
Constructor Summary
Constructors Modifier Constructor Description private
AggregatedTestResult(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.AggregatedTestResult
nonSkipped(java.util.List<TestExecutionResult> executionResults)
static XmlReportWriter.AggregatedTestResult
skipped()
-
-
-
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()
-
-