Uses of Class
org.junit.platform.commons.util.ClassFilter
Packages that use ClassFilter
Package
Description
Internal common utilities for JUnit.
Filter
-related support classes intended to be
used by test engine implementations.Internal classes for test discovery within the JUnit Vintage test engine.
-
Uses of ClassFilter in org.junit.platform.commons.util
Methods in org.junit.platform.commons.util that return ClassFilterModifier and TypeMethodDescriptionstatic ClassFilter
Create aClassFilter
instance that accepts all names but filters classes.static ClassFilter
Create aClassFilter
instance that filters by names and classes.Methods in org.junit.platform.commons.util with parameters of type ClassFilterModifier and TypeMethodDescriptionReflectionUtils.findAllClassesInClasspathRoot
(URI root, ClassFilter classFilter) ModuleUtils.findAllClassesInModule
(String moduleName, ClassFilter filter) Find all classes for the given module name.ReflectionUtils.findAllClassesInModule
(String moduleName, ClassFilter classFilter) ReflectionUtils.findAllClassesInPackage
(String basePackageName, ClassFilter classFilter) ClasspathScanner.findClassesForPath
(Path baseDir, String basePackageName, ClassFilter classFilter) ClasspathScanner.findClassesForUri
(URI baseUri, String basePackageName, ClassFilter classFilter) ClasspathScanner.findClassesForUris
(List<URI> baseUris, String basePackageName, ClassFilter classFilter) Recursively scan for classes in all of the supplied source directories.private void
ClasspathScanner.processClassFileSafely
(Path baseDir, String basePackageName, ClassFilter classFilter, Path classFile, Consumer<Class<?>> classConsumer) ClasspathScanner.scanForClassesInClasspathRoot
(URI root, ClassFilter classFilter) ClasspathScanner.scanForClassesInPackage
(String basePackageName, ClassFilter classFilter) ReflectionUtils.streamAllClassesInClasspathRoot
(URI root, ClassFilter classFilter) ReflectionUtils.streamAllClassesInModule
(String moduleName, ClassFilter classFilter) ReflectionUtils.streamAllClassesInPackage
(String basePackageName, ClassFilter classFilter) -
Uses of ClassFilter in org.junit.platform.engine.support.filter
Methods in org.junit.platform.engine.support.filter that return ClassFilterModifier and TypeMethodDescriptionstatic ClassFilter
ClasspathScanningSupport.buildClassFilter
(EngineDiscoveryRequest request, Predicate<Class<?>> classPredicate) Deprecated. -
Uses of ClassFilter in org.junit.vintage.engine.discovery
Fields in org.junit.vintage.engine.discovery declared as ClassFilterConstructors in org.junit.vintage.engine.discovery with parameters of type ClassFilter
EngineDiscoveryRequestResolver
instead.