@API(status=STABLE, since="1.0") public interface LauncherDiscoveryRequest extends EngineDiscoveryRequest
LauncherDiscoveryRequest
extends the EngineDiscoveryRequest
API
with additional filters that are applied by the Launcher
itself.
Specifically, a LauncherDiscoveryRequest
contains the following.
TestEngine
is executed. All of them have to include an engine for it
to contribute to the test plan.TestEngine
can use to discover testsTestEngines
during test discovery. All of them have to include a
resource for it to end up in the test plan.Launcher
after TestEngines
have performed test
discovery. All of them have to include a TestDescriptor
for it to end up
in the test plan.Modifier and Type | Method and Description |
---|---|
default LauncherDiscoveryListener |
getDiscoveryListener()
Get the
LauncherDiscoveryListener for this request. |
List<EngineFilter> |
getEngineFilters()
Get the
EngineFilters for this request. |
List<PostDiscoveryFilter> |
getPostDiscoveryFilters()
Get the
PostDiscoveryFilters for this request. |
getConfigurationParameters, getFiltersByType, getSelectorsByType
List<EngineFilter> getEngineFilters()
EngineFilters
for this request.
The returned filters are to be combined using AND semantics, i.e. all of them have to include an engine for it to contribute to the test plan.
EngineFilters
for this request; never
null
but potentially emptyList<PostDiscoveryFilter> getPostDiscoveryFilters()
PostDiscoveryFilters
for this request.
The returned filters are to be combined using AND semantics, i.e. all
of them have to include a TestDescriptor
for it to end up in the
test plan.
PostDiscoveryFilters
for this request; never
null
but potentially empty@API(status=EXPERIMENTAL, since="1.6") default LauncherDiscoveryListener getDiscoveryListener()
LauncherDiscoveryListener
for this request.
The default implementation returns a no-op listener that ignores all calls so that engines that call this methods can be used with an earlier version of the JUnit Platform that did not yet include it.
getDiscoveryListener
in interface EngineDiscoveryRequest
null
Copyright © 2020. All rights reserved.