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.-
Method Summary
Modifier and TypeMethodDescriptionGet the class name filter built from theClassNameFiltersandPackageNameFiltersin theEngineDiscoveryRequestthat is about to be resolved.Get theEngineDiscoveryRequestthat is about to be resolved.Get the engine'sTestDescriptorthat will be used to collect the results.
-
Method Details
-
getDiscoveryRequest
EngineDiscoveryRequest getDiscoveryRequest()Get theEngineDiscoveryRequestthat is about to be resolved.- Returns:
- the
EngineDiscoveryRequest; nevernull
-
getEngineDescriptor
T getEngineDescriptor()Get the engine'sTestDescriptorthat will be used to collect the results.- Returns:
- engine's
TestDescriptor; nevernull
-
getClassNameFilter
Get the class name filter built from theClassNameFiltersandPackageNameFiltersin theEngineDiscoveryRequestthat is about to be resolved.- Returns:
- the predicate for filtering the resolved class names; never
null
-