@API(value=Internal) public abstract class JupiterTestDescriptor extends AbstractTestDescriptor implements Node<JupiterEngineExecutionContext>
Node.SkipResultTestDescriptor.Visitor| 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(Executable executable)
Execute the supplied
Executable and
mask any
exception thrown as an unchecked exception. |
protected java.util.Set<TestTag> |
getTags(java.lang.reflect.AnnotatedElement element) |
boolean |
isLeaf()
Determine if this
Node is a leaf in the hierarchy. |
protected ExtensionRegistry |
populateNewExtensionRegistryFromExtendWith(java.lang.reflect.AnnotatedElement annotatedElement,
ExtensionRegistry existingExtensionRegistry) |
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getTags, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, setSource, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitafter, before, execute, prepare, shouldBeSkippedaccept, getAllDescendants, hasTests, isContainer, isRoot, isTestprotected java.util.Set<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 boolean isLeaf()
NodeNode is a leaf in the hierarchy.
The default implementation returns false.
isLeaf in interface Node<JupiterEngineExecutionContext>protected ExtensionRegistry populateNewExtensionRegistryFromExtendWith(java.lang.reflect.AnnotatedElement annotatedElement, ExtensionRegistry existingExtensionRegistry)
protected void executeAndMaskThrowable(Executable executable)
Executable and
mask any
exception thrown as an unchecked exception.executable - the Executable to executeExceptionUtils.throwAsUncheckedException(Throwable)