Module org.junit.platform.engine
Interface EngineDiscoveryRequestResolver.InitializationContext<T extends TestDescriptor>
- Enclosing class:
EngineDiscoveryRequestResolver<T extends TestDescriptor>
@API(status=STABLE,
since="1.10")
public static interface EngineDiscoveryRequestResolver.InitializationContext<T extends TestDescriptor>
The initialization context for creating resolvers and visitors that depend
on the
EngineDiscoveryRequest
to be resolved or the engine
descriptor that will be used to collect the results.- Since:
- 1.5
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet the class name filter built from theClassNameFilters
andPackageNameFilters
in theEngineDiscoveryRequest
that is about to be resolved.Get theEngineDiscoveryRequest
that is about to be resolved.Get the engine'sTestDescriptor
that will be used to collect the results.
-
Method Details
-
getDiscoveryRequest
EngineDiscoveryRequest getDiscoveryRequest()Get theEngineDiscoveryRequest
that is about to be resolved.- Returns:
- the
EngineDiscoveryRequest
; nevernull
-
getEngineDescriptor
T getEngineDescriptor()Get the engine'sTestDescriptor
that will be used to collect the results.- Returns:
- engine's
TestDescriptor
; nevernull
-
getClassNameFilter
Get the class name filter built from theClassNameFilters
andPackageNameFilters
in theEngineDiscoveryRequest
that is about to be resolved.- Returns:
- the predicate for filtering the resolved class names; never
null
-