LauncherExecutionRequest encapsulates a request for test execution
passed to the Launcher.
Most importantly, a LauncherExecutionRequest contains either a
LauncherDiscoveryRequest for on-the-fly test discovery or a
TestPlan that has previously been discovered.
Moreover, a LauncherExecutionRequest may contain the following:
This interface is not intended to be implemented by clients.
org.junit.platform.launcher.core.LauncherExecutionRequestBuilder , Launcher#execute(LauncherExecutionRequest)
| Modifier and Type | Method and Description |
|---|---|
| public Collection | Returns: the collection of additional test execution listeners that should be notified about events pertaining to this execution requestReturns the collection of additional test execution listeners that should be notified about events pertaining to this execution request. |
| public CancellationToken | Returns: the cancellation token for this execution requestReturns the cancellation token for this execution request. |
| public Optional | Returns: the discovery request for this execution requestReturns the discovery request for this execution request. |
| public Optional | Returns: the test plan for this execution requestReturns the test plan for this execution request. |
| getAdditionalTestExecutionListeners | back to summary |
|---|---|
| public Collection Returns the collection of additional test execution listeners that should be notified about events pertaining to this execution request.
| |
| getCancellationToken | back to summary |
|---|---|
| public CancellationToken getCancellationToken() Returns the cancellation token for this execution request.
| |
| getDiscoveryRequest | back to summary |
|---|---|
| public Optional Returns the discovery request for this execution request. If absent, a
| |
| getTestPlan | back to summary |
|---|---|
| public Optional Returns the test plan for this execution request. If absent, a | |