Class ClasspathScanningSupport
- java.lang.Object
-
- org.junit.platform.engine.support.filter.ClasspathScanningSupport
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClassFilter
buildClassFilter(EngineDiscoveryRequest request, Predicate<Class<?>> classPredicate)
Build aClassFilter
by combining the name predicate built bybuildClassNamePredicate(EngineDiscoveryRequest)
and the passed-in class predicate.static Predicate<String>
buildClassNamePredicate(EngineDiscoveryRequest request)
Build aPredicate
for fully qualified class names to be used for classpath scanning from anEngineDiscoveryRequest
.
-
-
-
Method Detail
-
buildClassNamePredicate
public static Predicate<String> buildClassNamePredicate(EngineDiscoveryRequest request)
Build aPredicate
for fully qualified class names to be used for classpath scanning from anEngineDiscoveryRequest
.- Parameters:
request
- the request to build a predicate from
-
buildClassFilter
public static ClassFilter buildClassFilter(EngineDiscoveryRequest request, Predicate<Class<?>> classPredicate)
Build aClassFilter
by combining the name predicate built bybuildClassNamePredicate(EngineDiscoveryRequest)
and the passed-in class predicate.- Parameters:
request
- the request to build a name predicate fromclassPredicate
- the class predicate
-
-