Uses of Interface
org.junit.platform.launcher.TestExecutionListener
-
Packages that use TestExecutionListener Package Description org.junit.platform.console.command Commands of JUnit's console launcher.org.junit.platform.console.output Output printing utility classes of JUnit's console launcher.org.junit.platform.launcher Public API for configuring and launching test plans.org.junit.platform.launcher.core Core support classes for theLauncherincluding theLauncherFactoryand theLauncherDiscoveryRequestBuilder.org.junit.platform.launcher.listeners CommonTestExecutionListenerimplementations and related support classes for theLauncher.org.junit.platform.runner Runnerand annotations for configuring and executing tests on the JUnit Platform in a JUnit 4 environment. -
-
Uses of TestExecutionListener in org.junit.platform.console.command
Methods in org.junit.platform.console.command that return types with arguments of type TestExecutionListener Modifier and Type Method Description private java.util.Optional<TestExecutionListener>ConsoleTestExecutor. createXmlWritingListener(java.io.PrintWriter out, java.util.Optional<java.nio.file.Path> reportsDir) -
Uses of TestExecutionListener in org.junit.platform.console.output
Subinterfaces of TestExecutionListener in org.junit.platform.console.output Modifier and Type Interface Description interfaceDetailsPrintingListenerClasses in org.junit.platform.console.output that implement TestExecutionListener Modifier and Type Class Description classFlatPrintingListenerclassTestFeedPrintingListenerclassTreePrintingListenerclassVerboseTreePrintingListener -
Uses of TestExecutionListener in org.junit.platform.launcher
Methods in org.junit.platform.launcher with parameters of type TestExecutionListener Modifier and Type Method Description voidLauncher. execute(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners)Execute aTestPlanwhich is built according to the suppliedLauncherDiscoveryRequestby querying all registered engines and collecting their results, and notify registered listeners about the progress and results of the execution.voidLauncher. execute(TestPlan testPlan, TestExecutionListener... listeners)Execute the suppliedTestPlanand notify registered listeners about the progress and results of the execution.voidLauncher. registerTestExecutionListeners(TestExecutionListener... listeners)Register one or more listeners for test execution. -
Uses of TestExecutionListener in org.junit.platform.launcher.core
Subinterfaces of TestExecutionListener in org.junit.platform.launcher.core Modifier and Type Interface Description (package private) static interfaceCompositeTestExecutionListener.EagerTestExecutionListenerClasses in org.junit.platform.launcher.core that implement TestExecutionListener Modifier and Type Class Description (package private) classCompositeTestExecutionListener(package private) classStreamInterceptingTestExecutionListenerFields in org.junit.platform.launcher.core declared as TestExecutionListener Modifier and Type Field Description private TestExecutionListenerExecutionListenerAdapter. testExecutionListenerFields in org.junit.platform.launcher.core with type parameters of type TestExecutionListener Modifier and Type Field Description private java.util.Collection<TestExecutionListener>DefaultLauncherConfig. additionalTestExecutionListenersprivate java.util.Collection<TestExecutionListener>LauncherConfig.Builder. executionListenersprivate ListenerRegistry<TestExecutionListener>EngineExecutionOrchestrator. listenerRegistryprivate java.util.List<TestExecutionListener>CompositeTestExecutionListener. testExecutionListeners(package private) ListenerRegistry<TestExecutionListener>LauncherListenerRegistry. testExecutionListenersMethods in org.junit.platform.launcher.core with type parameters of type TestExecutionListener Modifier and Type Method Description private static <T extends TestExecutionListener>
voidCompositeTestExecutionListener. notifyEach(java.util.List<T> listeners, IterationOrder iterationOrder, java.util.function.Consumer<T> consumer, java.util.function.Supplier<java.lang.String> description)Methods in org.junit.platform.launcher.core that return types with arguments of type TestExecutionListener Modifier and Type Method Description private ListenerRegistry<TestExecutionListener>EngineExecutionOrchestrator. buildListenerRegistryForExecution(TestExecutionListener... listeners)(package private) static ListenerRegistry<TestExecutionListener>ListenerRegistry. forTestExecutionListeners()java.util.Collection<TestExecutionListener>DefaultLauncherConfig. getAdditionalTestExecutionListeners()java.util.Collection<TestExecutionListener>LauncherConfig. getAdditionalTestExecutionListeners()Get the collection of additional test execution listeners that should be added to theLauncher.private static java.lang.Iterable<TestExecutionListener>LauncherFactory. loadAndFilterTestExecutionListeners(ConfigurationParameters configurationParameters)Methods in org.junit.platform.launcher.core with parameters of type TestExecutionListener Modifier and Type Method Description LauncherConfig.BuilderLauncherConfig.Builder. addTestExecutionListeners(TestExecutionListener... listeners)Add all of the supplied test execution listeners to the configuration.private static EngineExecutionListenerEngineExecutionOrchestrator. buildEngineExecutionListener(EngineExecutionListener parentEngineExecutionListener, TestExecutionListener testExecutionListener, TestPlan testPlan)private ListenerRegistry<TestExecutionListener>EngineExecutionOrchestrator. buildListenerRegistryForExecution(TestExecutionListener... listeners)private voidEngineExecutionOrchestrator. dryRun(TestPlan testPlan, TestExecutionListener listener)private voidDefaultLauncher. execute(InternalTestPlan internalTestPlan, TestExecutionListener[] listeners)voidDefaultLauncher. execute(LauncherDiscoveryRequest discoveryRequest, TestExecutionListener... listeners)voidDefaultLauncher. execute(TestPlan testPlan, TestExecutionListener... listeners)voidDefaultLauncherSession.ClosedLauncher. execute(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners)voidDefaultLauncherSession.ClosedLauncher. execute(TestPlan testPlan, TestExecutionListener... listeners)voidDelegatingLauncher. execute(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners)voidDelegatingLauncher. execute(TestPlan testPlan, TestExecutionListener... listeners)private voidEngineExecutionOrchestrator. execute(InternalTestPlan internalTestPlan, EngineExecutionListener parentEngineExecutionListener, TestExecutionListener testExecutionListener, NamespacedHierarchicalStore<Namespace> requestLevelStore)(package private) voidEngineExecutionOrchestrator. execute(InternalTestPlan internalTestPlan, NamespacedHierarchicalStore<Namespace> requestLevelStore, TestExecutionListener... listeners)voidEngineExecutionOrchestrator. execute(LauncherDiscoveryResult discoveryResult, EngineExecutionListener engineExecutionListener, TestExecutionListener testExecutionListener, NamespacedHierarchicalStore<Namespace> requestLevelStore)Executes tests for the supplied discoveryResult and notifies the supplied engineExecutionListener and testExecutionListener of execution events.voidInterceptingLauncher. execute(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners)voidInterceptingLauncher. execute(TestPlan testPlan, TestExecutionListener... listeners)voidSessionPerRequestLauncher. execute(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners)voidSessionPerRequestLauncher. execute(TestPlan testPlan, TestExecutionListener... listeners)voidDefaultLauncher. registerTestExecutionListeners(TestExecutionListener... listeners)voidDefaultLauncherSession.ClosedLauncher. registerTestExecutionListeners(TestExecutionListener... listeners)voidDelegatingLauncher. registerTestExecutionListeners(TestExecutionListener... listeners)voidSessionPerRequestLauncher. registerTestExecutionListeners(TestExecutionListener... listeners)Method parameters in org.junit.platform.launcher.core with type arguments of type TestExecutionListener Modifier and Type Method Description private voidEngineExecutionOrchestrator. withInterceptedStreams(ConfigurationParameters configurationParameters, ListenerRegistry<TestExecutionListener> listenerRegistry, java.util.function.Consumer<TestExecutionListener> action)private voidEngineExecutionOrchestrator. withInterceptedStreams(ConfigurationParameters configurationParameters, ListenerRegistry<TestExecutionListener> listenerRegistry, java.util.function.Consumer<TestExecutionListener> action)Constructors in org.junit.platform.launcher.core with parameters of type TestExecutionListener Constructor Description ExecutionListenerAdapter(TestPlan testPlan, TestExecutionListener testExecutionListener)Constructor parameters in org.junit.platform.launcher.core with type arguments of type TestExecutionListener Constructor Description CompositeTestExecutionListener(java.util.List<TestExecutionListener> testExecutionListeners)EngineExecutionOrchestrator(ListenerRegistry<TestExecutionListener> listenerRegistry) -
Uses of TestExecutionListener in org.junit.platform.launcher.listeners
Classes in org.junit.platform.launcher.listeners that implement TestExecutionListener Modifier and Type Class Description classLoggingListenerSimpleTestExecutionListenerfor logging informational messages for all events via aBiConsumerthat consumesThrowableandSupplier<String>.classSummaryGeneratingListenerSimpleTestExecutionListenerthat generates a summary of the test execution.classUniqueIdTrackingListenerUniqueIdTrackingListeneris aTestExecutionListenerthat tracks the unique IDs of all tests that were executed during the execution of theTestPlanand generates a file containing the unique IDs once execution of theTestPlanhas finished. -
Uses of TestExecutionListener in org.junit.platform.runner
Classes in org.junit.platform.runner that implement TestExecutionListener Modifier and Type Class Description (package private) classJUnitPlatformRunnerListener
-