Uses of Class
org.junit.platform.engine.support.discovery.EngineDiscoveryRequestResolver.Builder
Package
Description
Configurable test discovery implementation that can be reused by different test engines.
-
Uses of EngineDiscoveryRequestResolver.Builder in org.junit.platform.engine.support.discovery
Modifier and TypeMethodDescriptionEngineDiscoveryRequestResolver.Builder.addClassContainerSelectorResolver(Predicate<Class<?>> classFilter)
Add a predefined resolver that resolvesClasspathRootSelectors
,ModuleSelectors
, andPackageSelectors
intoClassSelectors
by scanning for classes that satisfy the supplied predicate in the respective class containers to this builder.EngineDiscoveryRequestResolver.Builder.addSelectorResolver(Function<EngineDiscoveryRequestResolver.InitializationContext<T>,SelectorResolver> resolverCreator)
Add a context sensitiveSelectorResolver
to this builder.EngineDiscoveryRequestResolver.Builder.addSelectorResolver(SelectorResolver resolver)
Add a context insensitiveSelectorResolver
to this builder.EngineDiscoveryRequestResolver.Builder.addTestDescriptorVisitor(Function<EngineDiscoveryRequestResolver.InitializationContext<T>,TestDescriptor.Visitor> visitorCreator)
Add a context sensitiveTestDescriptor.Visitor
to this builder.static <T extends TestDescriptor>
EngineDiscoveryRequestResolver.Builder<T>EngineDiscoveryRequestResolver.builder()
Create a newEngineDiscoveryRequestResolver.Builder
for creating aEngineDiscoveryRequestResolver
.