Module org.junit.platform.engine
Class ClasspathScanningSupport
java.lang.Object
org.junit.platform.engine.support.filter.ClasspathScanningSupport
@Deprecated
@API(status=DEPRECATED,
since="1.5")
public final class ClasspathScanningSupport
extends Object
Deprecated.
Support utility methods for classpath scanning.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassFilter
buildClassFilter(EngineDiscoveryRequest request, Predicate<Class<?>> classPredicate)
Deprecated.Please useEngineDiscoveryRequestResolver
instead.Deprecated.Please useEngineDiscoveryRequestResolver
instead.
-
Method Details
-
buildClassNamePredicate
@Deprecated public static Predicate<String> buildClassNamePredicate(EngineDiscoveryRequest request)Deprecated.Please useEngineDiscoveryRequestResolver
instead.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
@Deprecated public static ClassFilter buildClassFilter(EngineDiscoveryRequest request, Predicate<Class<?>> classPredicate)Deprecated.Please useEngineDiscoveryRequestResolver
instead.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
-
EngineDiscoveryRequestResolver
instead.