TestDescriptor for a @TestTemplate
invocation.
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private static final InterceptingExecutableInvoker. | |
| private @Nullable TestTemplateInvocationContext | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | TestTemplateInvocationTestDescriptor(UniqueId uniqueId, Class<?> testClass, Method templateMethod, TestTemplateInvocationContext invocationContext, int index, JupiterConfiguration configuration)
|
| index | back to summary |
|---|---|
| private final int index | |
| interceptorCall | back to summary |
|---|---|
| private static final InterceptingExecutableInvoker. Hides org. | |
| invocationContext | back to summary |
|---|---|
| private @Nullable TestTemplateInvocationContext invocationContext | |
| SEGMENT_TYPE | back to summary |
|---|---|
| public static final String SEGMENT_TYPE Hides org. | |
| TestTemplateInvocationTestDescriptor | back to summary |
|---|---|
| pack-priv TestTemplateInvocationTestDescriptor(UniqueId uniqueId, Class<?> testClass, Method templateMethod, TestTemplateInvocationContext invocationContext, int index, JupiterConfiguration configuration) | |
| after | back to summary |
|---|---|
| public void after(JupiterEngineExecutionContext context) Overrides default org. Doc from org. Execute the after behavior of this node. This method will be called once after execution of this node. The default implementation does nothing.
| |
| getExclusiveResources | back to summary |
|---|---|
| public Set Overrides org. Overrides default org. Doc from org. Get the set of exclusive resources required to execute this node. The default implementation returns an empty set.
| |
| getLegacyReportingName | back to summary |
|---|---|
| public String getLegacyReportingName() Overrides org. 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
| |
| populateNewExtensionRegistry | back to summary |
|---|---|
| protected MutableExtensionRegistry populateNewExtensionRegistry(JupiterEngineExecutionContext context) Overrides org.
| |
| prepareExtensionContext | back to summary |
|---|---|
| protected void prepareExtensionContext(ExtensionContext extensionContext) Overrides org.
| |
| requiredInvocationContext | back to summary |
|---|---|
| private TestTemplateInvocationContext requiredInvocationContext() | |
| withUniqueId | back to summary |
|---|---|
| protected TestTemplateInvocationTestDescriptor withUniqueId(UnaryOperator<UniqueId> uniqueIdTransformer) Overrides org. Doc from org. Returns shallow copy (without children) of this descriptor with the supplied unique ID.
| |