Uses of Class
org.junit.platform.engine.discovery.MethodSelector
Package
Description
Configuration options for JUnit's console launcher.
Configurable test discovery implementation that can be reused by different test engines.
-
Uses of MethodSelector in org.junit.platform.console.options
Modifier and TypeMethodDescriptionvoid
TestDiscoveryOptions.setSelectedMethods
(List<MethodSelector> selectedMethods) -
Uses of MethodSelector in org.junit.platform.engine.discovery
Modifier and TypeMethodDescriptionstatic MethodSelector
DiscoverySelectors.selectMethod
(Class<?> javaClass, Method method) static MethodSelector
DiscoverySelectors.selectMethod
(Class<?> javaClass, String methodName) Create aMethodSelector
for the suppliedClass
and method name.static MethodSelector
DiscoverySelectors.selectMethod
(Class<?> javaClass, String methodName, Class<?>... parameterTypes) Create aMethodSelector
for the suppliedClass
, method name, and parameter types.static MethodSelector
DiscoverySelectors.selectMethod
(Class<?> javaClass, String methodName, String parameterTypeNames) Create aMethodSelector
for the suppliedClass
, method name, and parameter type names.static MethodSelector
DiscoverySelectors.selectMethod
(ClassLoader classLoader, String fullyQualifiedMethodName) Create aMethodSelector
for the supplied fully qualified method name and class loader.static MethodSelector
DiscoverySelectors.selectMethod
(ClassLoader classLoader, String className, String methodName) Create aMethodSelector
for the supplied class name, method name, and class loader.static MethodSelector
DiscoverySelectors.selectMethod
(ClassLoader classLoader, String className, String methodName, String parameterTypeNames) Create aMethodSelector
for the supplied class name, method name, parameter type names, and class loader.static MethodSelector
DiscoverySelectors.selectMethod
(String fullyQualifiedMethodName) Create aMethodSelector
for the supplied fully qualified method name.static MethodSelector
DiscoverySelectors.selectMethod
(String className, String methodName) Create aMethodSelector
for the supplied class name and method name using the default class loader.static MethodSelector
DiscoverySelectors.selectMethod
(String className, String methodName, Class<?>... parameterTypes) Create aMethodSelector
for the supplied class name, method name, and parameter types.static MethodSelector
DiscoverySelectors.selectMethod
(String className, String methodName, String parameterTypeNames) Create aMethodSelector
for the supplied class name, method name, and parameter type names. -
Uses of MethodSelector in org.junit.platform.engine.support.discovery
Modifier and TypeMethodDescriptiondefault SelectorResolver.Resolution
SelectorResolver.resolve
(MethodSelector selector, SelectorResolver.Context context) Resolve the suppliedMethodSelector
using the suppliedContext
.