TestDescriptors based on Java methods.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private final MethodBasedTestDescriptor. |
| Access | Constructor and Description |
|---|---|
| pack-priv | MethodBasedTestDescriptor(UniqueId uniqueId, Class<?> testClass, Method testMethod, Supplier<List<Class<?>>> enclosingInstanceTypes, JupiterConfiguration configuration)
|
| pack-priv | MethodBasedTestDescriptor(UniqueId uniqueId, String displayName, Class<?> testClass, Method testMethod, JupiterConfiguration configuration)
|
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| methodInfo | back to summary |
|---|---|
| private final MethodBasedTestDescriptor. | |
| MethodBasedTestDescriptor | back to summary |
|---|---|
| pack-priv MethodBasedTestDescriptor(UniqueId uniqueId, Class<?> testClass, Method testMethod, Supplier<List<Class<?>>> enclosingInstanceTypes, JupiterConfiguration configuration) | |
| MethodBasedTestDescriptor | back to summary |
|---|---|
| pack-priv MethodBasedTestDescriptor(UniqueId uniqueId, String displayName, Class<?> testClass, Method testMethod, JupiterConfiguration configuration) | |
| getEnclosingTestClasses | back to summary |
|---|---|
| public List Implements org.
| |
| getExclusiveResourceCollector | back to summary |
|---|---|
| public ExclusiveResourceCollector getExclusiveResourceCollector() Implements org.
| |
| getExplicitExecutionMode | back to summary |
|---|---|
| protected Optional Overrides org.
| |
| getLegacyReportingName | back to summary |
|---|---|
| public String getLegacyReportingName() Overrides default org. Doc from org. Get the name of this descriptor in a format that is suitable for legacy reporting infrastructure — for example, for reporting systems built on the Ant-based XML reporting format for JUnit 4. The default implementation delegates to
| |
| getResourceLocksProviderEvaluator | back to summary |
|---|---|
| public Function Implements org.
| |
| getTags | back to summary |
|---|---|
| public final Set Overrides org. Implements org. Doc from org. Get the set of tags associated with this descriptor.
| |
| getTestClass | back to summary |
|---|---|
| public final Class Implements org.
| |
| getTestMethod | back to summary |
|---|---|
| public final Method getTestMethod() | |
| invokeTestWatchers | back to summary |
|---|---|
protected void invokeTestWatchers(JupiterEngineExecutionContext context, boolean reverseOrder, Consumer<TestWatcher> callback)
| |
| nodeSkipped | back to summary |
|---|---|
| public void nodeSkipped(JupiterEngineExecutionContext context, TestDescriptor descriptor, Node. Overrides default org. Invoke
| |
| validate | back to summary |
|---|---|
| public void validate(DiscoveryIssueReporter reporter) Implements org. Doc from org. Validate the state of this descriptor and report any issues found to the
supplied
| |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final Set | tags
Set of method-level tags; does not contain tags from parent. |
| private final Class | |
| private final Method |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| discoveryIssues | back to summary |
|---|---|
| private final List<DiscoveryIssue> discoveryIssues | |
| tags | back to summary |
|---|---|
| private final Set<TestTag> tags Set of method-level tags; does not contain tags from parent. | |
| testClass | back to summary |
|---|---|
| private final Class<?> testClass | |
| testMethod | back to summary |
|---|---|
| private final Method testMethod | |
| MethodInfo | back to summary |
|---|---|
| pack-priv MethodInfo(Class<?> testClass, Method testMethod) | |