Uses of Class
org.junit.platform.commons.util.ClassFilter
-
Packages that use ClassFilter Package Description org.junit.platform.commons.util Internal common utilities for JUnit.org.junit.platform.engine.support.filter Filter
-related support classes intended to be used by test engine implementations. -
-
Uses of ClassFilter in org.junit.platform.commons.util
Methods in org.junit.platform.commons.util that return ClassFilter Modifier and Type Method Description static ClassFilter
ClassFilter. of(java.util.function.Predicate<java.lang.Class<?>> classPredicate)
Create aClassFilter
instance that accepts all names but filters classes.static ClassFilter
ClassFilter. of(java.util.function.Predicate<java.lang.String> namePredicate, java.util.function.Predicate<java.lang.Class<?>> classPredicate)
Create aClassFilter
instance that filters by names and classes.Methods in org.junit.platform.commons.util with parameters of type ClassFilter Modifier and Type Method Description static java.util.List<java.lang.Class<?>>
ReflectionUtils. findAllClassesInClasspathRoot(java.net.URI root, ClassFilter classFilter)
static java.util.List<java.lang.Class<?>>
ModuleUtils. findAllClassesInModule(java.lang.String moduleName, ClassFilter filter)
Find all classes for the given module name.static java.util.List<java.lang.Class<?>>
ReflectionUtils. findAllClassesInPackage(java.lang.String basePackageName, ClassFilter classFilter)
-
Uses of ClassFilter in org.junit.platform.engine.support.filter
Methods in org.junit.platform.engine.support.filter that return ClassFilter Modifier and Type Method Description static ClassFilter
ClasspathScanningSupport. buildClassFilter(EngineDiscoveryRequest request, java.util.function.Predicate<java.lang.Class<?>> classPredicate)
Build aClassFilter
by combining the name predicate built byClasspathScanningSupport.buildClassNamePredicate(EngineDiscoveryRequest)
and the passed-in class predicate.
-