Package | Description |
---|---|
org.junit.jupiter.engine.discovery |
Internal classes for test discovery within the JUnit Jupiter test engine.
|
org.junit.platform.engine.discovery | |
org.junit.platform.engine.support.discovery |
Configurable test discovery implementation that can be reused by different test engines.
|
Modifier and Type | Method and Description |
---|---|
SelectorResolver.Resolution |
MethodSelectorResolver.resolve(NestedMethodSelector selector,
SelectorResolver.Context context) |
Modifier and Type | Method and Description |
---|---|
static NestedMethodSelector |
DiscoverySelectors.selectNestedMethod(java.util.List<java.lang.Class<?>> enclosingClasses,
java.lang.Class<?> nestedClass,
java.lang.reflect.Method method)
Create a
NestedMethodSelector for the supplied nested Class and Method . |
static NestedMethodSelector |
DiscoverySelectors.selectNestedMethod(java.util.List<java.lang.Class<?>> enclosingClasses,
java.lang.Class<?> nestedClass,
java.lang.String methodName)
Create a
NestedMethodSelector for the supplied nested Class and method name. |
static NestedMethodSelector |
DiscoverySelectors.selectNestedMethod(java.util.List<java.lang.Class<?>> enclosingClasses,
java.lang.Class<?> nestedClass,
java.lang.String methodName,
java.lang.String methodParameterTypes)
Create a
NestedMethodSelector for the supplied Class , method name,
and method parameter types. |
static NestedMethodSelector |
DiscoverySelectors.selectNestedMethod(java.util.List<java.lang.String> enclosingClassNames,
java.lang.String nestedClassName,
java.lang.String methodName)
Create a
NestedMethodSelector for the supplied nested class name and method name. |
static NestedMethodSelector |
DiscoverySelectors.selectNestedMethod(java.util.List<java.lang.String> enclosingClassNames,
java.lang.String nestedClassName,
java.lang.String methodName,
java.lang.String methodParameterTypes)
Create a
NestedMethodSelector for the supplied nested class name, method name,
and method parameter types. |
Modifier and Type | Method and Description |
---|---|
default SelectorResolver.Resolution |
SelectorResolver.resolve(NestedMethodSelector selector,
SelectorResolver.Context context)
Resolve the supplied
NestedMethodSelector using the supplied
Context . |