| Package | Description |
|---|---|
| org.junit.jupiter.engine.discovery |
Internal classes for test discovery within the JUnit Jupiter test engine.
|
| org.junit.platform.engine.support.discovery |
Configurable test discovery implementation that can be reused by different test engines.
|
| Modifier and Type | Method and Description |
|---|---|
private SelectorResolver.Resolution |
MethodSelectorResolver.resolve(SelectorResolver.Context context,
java.util.List<java.lang.Class<?>> enclosingClasses,
java.lang.Class<?> testClass,
java.util.function.Supplier<java.lang.reflect.Method> methodSupplier,
java.util.function.BiFunction<TestDescriptor,java.util.function.Supplier<java.util.Set<? extends DiscoverySelector>>,SelectorResolver.Match> matchFactory) |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<SelectorResolver.Match> |
SelectorResolver.Resolution.matches |
private java.util.Map<UniqueId,SelectorResolver.Match> |
EngineDiscoveryRequestResolution.resolvedUniqueIds |
| Modifier and Type | Method and Description |
|---|---|
static SelectorResolver.Match |
SelectorResolver.Match.exact(TestDescriptor testDescriptor)
Factory for creating an exact match without any children.
|
static SelectorResolver.Match |
SelectorResolver.Match.exact(TestDescriptor testDescriptor,
java.util.function.Supplier<java.util.Set<? extends DiscoverySelector>> childSelectorsSupplier)
Factory for creating an exact match with potential children.
|
static SelectorResolver.Match |
SelectorResolver.Match.partial(TestDescriptor testDescriptor)
Factory for creating a partial match without any children.
|
static SelectorResolver.Match |
SelectorResolver.Match.partial(TestDescriptor testDescriptor,
java.util.function.Supplier<java.util.Set<? extends DiscoverySelector>> childSelectorsSupplier)
Factory for creating a partial match with potential children.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<SelectorResolver.Match> |
SelectorResolver.Resolution.getMatches()
Returns the matches contained by this resolution.
|
| Modifier and Type | Method and Description |
|---|---|
static SelectorResolver.Resolution |
SelectorResolver.Resolution.match(SelectorResolver.Match match)
Factory for creating a resolution that contains the supplied
Match. |
| Modifier and Type | Method and Description |
|---|---|
static SelectorResolver.Resolution |
SelectorResolver.Resolution.matches(java.util.Set<SelectorResolver.Match> matches)
Factory for creating a resolution that contains the supplied
Matches. |
| Constructor and Description |
|---|
Resolution(java.util.Set<SelectorResolver.Match> matches,
java.util.Set<? extends DiscoverySelector> selectors) |