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.Please useEngineDiscoveryRequestResolver
instead.Support utility methods for classpath scanning.- Since:
- 1.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ClassFilter
buildClassFilter(EngineDiscoveryRequest request, Predicate<Class<?>> classPredicate)
Deprecated.Please useEngineDiscoveryRequestResolver
instead.static Predicate<String>
buildClassNamePredicate(EngineDiscoveryRequest request)
Deprecated.Please useEngineDiscoveryRequestResolver
instead.
-
-
-
Method Detail
-
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
-
-