Class EnhancedLegacyXmlReportGeneratingListener
java.lang.Object
app.getxray.xray.junit.customjunitxml.EnhancedLegacyXmlReportGeneratingListener
- All Implemented Interfaces:
org.junit.platform.launcher.TestExecutionListener
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.
- Since:
- 1.4
- See Also:
-
LoggingListenerSummaryGeneratingListener
-
Constructor Summary
ConstructorsConstructorDescriptionEnhancedLegacyXmlReportGeneratingListener(Path reportsDir, PrintWriter out) EnhancedLegacyXmlReportGeneratingListener(Path reportsDir, PrintWriter out, Clock clock) EnhancedLegacyXmlReportGeneratingListener(Path reportsDir, Path propertiesFile, PrintWriter out, Clock clock) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecutionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult result) voidexecutionSkipped(org.junit.platform.launcher.TestIdentifier testIdentifier, String reason) voidexecutionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) voidreportingEntryPublished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.reporting.ReportEntry entry) voidtestPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan) voidtestPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.junit.platform.launcher.TestExecutionListener
dynamicTestRegistered
-
Constructor Details
-
EnhancedLegacyXmlReportGeneratingListener
-
EnhancedLegacyXmlReportGeneratingListener
public EnhancedLegacyXmlReportGeneratingListener(Path reportsDir, Path propertiesFile, PrintWriter out, Clock clock) -
EnhancedLegacyXmlReportGeneratingListener
public EnhancedLegacyXmlReportGeneratingListener() -
EnhancedLegacyXmlReportGeneratingListener
-
-
Method Details
-
testPlanExecutionStarted
public void testPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan) - Specified by:
testPlanExecutionStartedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
testPlanExecutionFinished
public void testPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan) - Specified by:
testPlanExecutionFinishedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
executionSkipped
public void executionSkipped(org.junit.platform.launcher.TestIdentifier testIdentifier, String reason) - Specified by:
executionSkippedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
executionStarted
public void executionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) - Specified by:
executionStartedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
reportingEntryPublished
public void reportingEntryPublished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.reporting.ReportEntry entry) - Specified by:
reportingEntryPublishedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
executionFinished
public void executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult result) - Specified by:
executionFinishedin interfaceorg.junit.platform.launcher.TestExecutionListener
-