Top Fields Constructors Methods
org.junit.platform.launcher.core

pack-priv Class DelegatingLauncher

extends Object
implements Launcher
Class Inheritance
All Implemented Interfaces
org.junit.platform.launcher.Launcher
Known Direct Subclasses
org.junit.platform.launcher.core.InterceptingLauncher
Imports
org.junit.platform.launcher.Launcher, .LauncherDiscoveryListener, .LauncherDiscoveryRequest, .LauncherExecutionRequest, .TestExecutionListener, .TestPlan

Since
1.10

Field Summary

Modifier and TypeField and Description
protected Launcher

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public TestPlan
discover(LauncherDiscoveryRequest launcherDiscoveryRequest)

Implements org.junit.platform.launcher.Launcher.discover.

Discover tests and build a TestPlan according to the supplied LauncherDiscoveryRequest by querying all registered engines and collecting their results.

public void
execute(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners)

Implements org.junit.platform.launcher.Launcher.execute.

Execute a TestPlan which is built according to the supplied LauncherDiscoveryRequest by querying all registered engines and collecting their results, and notify registered listeners about the progress and results of the execution.

public void
execute(TestPlan testPlan, TestExecutionListener... listeners)

Implements org.junit.platform.launcher.Launcher.execute.

Execute the supplied TestPlan and notify registered listeners about the progress and results of the execution.

public void
execute(LauncherExecutionRequest launcherExecutionRequest)

Implements org.junit.platform.launcher.Launcher.execute.

Execute tests according to the supplied LauncherExecutionRequest and notify registered listeners about the progress and results of the execution.

public void
public void
registerTestExecutionListeners(TestExecutionListener... listeners)

Implements org.junit.platform.launcher.Launcher.registerTestExecutionListeners.

Register one or more listeners for test execution.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

delegateback to summary
protected Launcher delegate

Constructor Detail

DelegatingLauncherback to summary
pack-priv DelegatingLauncher(Launcher delegate)

Method Detail

discoverback to summary
public TestPlan discover(LauncherDiscoveryRequest launcherDiscoveryRequest)

Implements org.junit.platform.launcher.Launcher.discover.

Doc from org.junit.platform.launcher.Launcher.discover.

Discover tests and build a TestPlan according to the supplied LauncherDiscoveryRequest by querying all registered engines and collecting their results.

Annotations
@Override
executeback to summary
public void execute(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners)

Implements org.junit.platform.launcher.Launcher.execute.

Doc from org.junit.platform.launcher.Launcher.execute.

Execute a TestPlan which is built according to the supplied LauncherDiscoveryRequest by querying all registered engines and collecting their results, and notify registered listeners about the progress and results of the execution.

Supplied test execution listeners are registered in addition to already registered listeners but only for the supplied launcher discovery request.

Annotations
@Override
executeback to summary
public void execute(TestPlan testPlan, TestExecutionListener... listeners)

Implements org.junit.platform.launcher.Launcher.execute.

Doc from org.junit.platform.launcher.Launcher.execute.

Execute the supplied TestPlan and notify registered listeners about the progress and results of the execution.

Supplied test execution listeners are registered in addition to already registered listeners but only for the execution of the supplied test plan.

Annotations
@Override
executeback to summary
public void execute(LauncherExecutionRequest launcherExecutionRequest)

Implements org.junit.platform.launcher.Launcher.execute.

Doc from org.junit.platform.launcher.Launcher.execute.

Execute tests according to the supplied LauncherExecutionRequest and notify registered listeners about the progress and results of the execution.

Test execution listeners supplied as part of the request are registered in addition to already registered listeners but only for the supplied execution request.

Annotations
@Override
registerLauncherDiscoveryListenersback to summary
public void registerLauncherDiscoveryListeners(LauncherDiscoveryListener... listeners)

Implements org.junit.platform.launcher.Launcher.registerLauncherDiscoveryListeners.

Doc from org.junit.platform.launcher.Launcher.registerLauncherDiscoveryListeners.

Register one or more listeners for test discovery.

Annotations
@Override
registerTestExecutionListenersback to summary
public void registerTestExecutionListeners(TestExecutionListener... listeners)

Implements org.junit.platform.launcher.Launcher.registerTestExecutionListeners.

Doc from org.junit.platform.launcher.Launcher.registerTestExecutionListeners.

Register one or more listeners for test execution.

Annotations
@Override