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
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
static Predicate<String>
buildClassNamePredicate(EngineDiscoveryRequest request)
Deprecated.Please useEngineDiscoveryRequestResolver
-
-
-
Method Detail
-
buildClassNamePredicate
@Deprecated public static Predicate<String> buildClassNamePredicate(EngineDiscoveryRequest request)
Deprecated.Please useEngineDiscoveryRequestResolver
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
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
-
-