public class EnhancedLegacyXmlReportGeneratingListener extends Object implements org.junit.platform.launcher.TestExecutionListener
EnhancedLegacyXmlReportGeneratingListener is a
TestExecutionListener that generates a separate XML report for each
root in the TestPlan.
Note that the generated XML format is compatible with the legacy de facto standard for JUnit 4 based test reports that was made popular by the Ant build system.
LoggingListener,
SummaryGeneratingListener| Constructor and Description |
|---|
EnhancedLegacyXmlReportGeneratingListener() |
EnhancedLegacyXmlReportGeneratingListener(Path reportsDir,
Path propertiesFile,
PrintWriter out,
Clock clock) |
EnhancedLegacyXmlReportGeneratingListener(Path reportsDir,
PrintWriter out) |
EnhancedLegacyXmlReportGeneratingListener(Path reportsDir,
PrintWriter out,
Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
void |
executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier,
org.junit.platform.engine.TestExecutionResult result) |
void |
executionSkipped(org.junit.platform.launcher.TestIdentifier testIdentifier,
String reason) |
void |
executionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) |
void |
reportingEntryPublished(org.junit.platform.launcher.TestIdentifier testIdentifier,
org.junit.platform.engine.reporting.ReportEntry entry) |
void |
testPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan) |
void |
testPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan) |
public EnhancedLegacyXmlReportGeneratingListener(Path reportsDir, PrintWriter out, Clock clock)
public EnhancedLegacyXmlReportGeneratingListener(Path reportsDir, Path propertiesFile, PrintWriter out, Clock clock)
public EnhancedLegacyXmlReportGeneratingListener()
public EnhancedLegacyXmlReportGeneratingListener(Path reportsDir, PrintWriter out)
public void testPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan)
testPlanExecutionStarted in interface org.junit.platform.launcher.TestExecutionListenerpublic void testPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan)
testPlanExecutionFinished in interface org.junit.platform.launcher.TestExecutionListenerpublic void executionSkipped(org.junit.platform.launcher.TestIdentifier testIdentifier,
String reason)
executionSkipped in interface org.junit.platform.launcher.TestExecutionListenerpublic void executionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier)
executionStarted in interface org.junit.platform.launcher.TestExecutionListenerpublic void reportingEntryPublished(org.junit.platform.launcher.TestIdentifier testIdentifier,
org.junit.platform.engine.reporting.ReportEntry entry)
reportingEntryPublished in interface org.junit.platform.launcher.TestExecutionListenerpublic void executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier,
org.junit.platform.engine.TestExecutionResult result)
executionFinished in interface org.junit.platform.launcher.TestExecutionListenerCopyright © 2022 Xblend. All rights reserved.