Uses of Class
org.junit.platform.launcher.core.LauncherConfig.Builder
Package
Description
Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder
.-
Uses of LauncherConfig.Builder in org.junit.platform.launcher.core
Modifier and TypeMethodDescriptionLauncherConfig.Builder.addLauncherDiscoveryListeners(LauncherDiscoveryListener... listeners)
Add all of the supplied launcher discovery listeners to the configuration.LauncherConfig.Builder.addLauncherSessionListeners(LauncherSessionListener... listeners)
Add all of the supplied launcher session listeners to the configuration.LauncherConfig.Builder.addPostDiscoveryFilters(PostDiscoveryFilter... filters)
Add all of the suppliedfilters
to the configuration.LauncherConfig.Builder.addTestEngines(TestEngine... engines)
Add all of the supplied test engines to the configuration.LauncherConfig.Builder.addTestExecutionListeners(TestExecutionListener... listeners)
Add all of the supplied test execution listeners to the configuration.static LauncherConfig.Builder
LauncherConfig.builder()
Create a newLauncherConfig.Builder
.LauncherConfig.Builder.enableLauncherDiscoveryListenerAutoRegistration(boolean enabled)
Configure the auto-registration flag for launcher discovery listeners.LauncherConfig.Builder.enableLauncherSessionListenerAutoRegistration(boolean enabled)
Configure the auto-registration flag for launcher session listeners.LauncherConfig.Builder.enablePostDiscoveryFilterAutoRegistration(boolean enabled)
Configure the auto-registration flag for post discovery filters.LauncherConfig.Builder.enableTestEngineAutoRegistration(boolean enabled)
Configure the auto-registration flag for test engines.LauncherConfig.Builder.enableTestExecutionListenerAutoRegistration(boolean enabled)
Configure the auto-registration flag for test execution listeners.