@API(status=INTERNAL,
since="5.0")
public abstract class JupiterTestDescriptor
extends org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
implements org.junit.platform.engine.support.hierarchical.Node<JupiterEngineExecutionContext>
| Modifier and Type | Method and Description |
|---|---|
protected static <E extends java.lang.reflect.AnnotatedElement> |
determineDisplayName(E element,
java.util.function.Function<E,java.lang.String> defaultDisplayNameGenerator) |
protected void |
executeAndMaskThrowable(org.junit.jupiter.api.function.Executable executable)
Execute the supplied
Executable and
mask any
exception thrown as an unchecked exception. |
protected static java.util.Set<org.junit.platform.engine.TestTag> |
getTags(java.lang.reflect.AnnotatedElement element) |
protected ExtensionRegistry |
populateNewExtensionRegistryFromExtendWith(java.lang.reflect.AnnotatedElement annotatedElement,
ExtensionRegistry existingExtensionRegistry) |
org.junit.platform.engine.support.hierarchical.Node.SkipResult |
shouldBeSkipped(JupiterEngineExecutionContext context) |
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getTags, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitprotected static java.util.Set<org.junit.platform.engine.TestTag> getTags(java.lang.reflect.AnnotatedElement element)
protected static <E extends java.lang.reflect.AnnotatedElement> java.lang.String determineDisplayName(E element,
java.util.function.Function<E,java.lang.String> defaultDisplayNameGenerator)
public org.junit.platform.engine.support.hierarchical.Node.SkipResult shouldBeSkipped(JupiterEngineExecutionContext context) throws java.lang.Exception
shouldBeSkipped in interface org.junit.platform.engine.support.hierarchical.Node<JupiterEngineExecutionContext>java.lang.Exceptionprotected ExtensionRegistry populateNewExtensionRegistryFromExtendWith(java.lang.reflect.AnnotatedElement annotatedElement, ExtensionRegistry existingExtensionRegistry)
protected void executeAndMaskThrowable(org.junit.jupiter.api.function.Executable executable)
Executable and
mask any
exception thrown as an unchecked exception.executable - the Executable to executeExceptionUtils.throwAsUncheckedException(Throwable)