@API(value=Internal) public class NestedClassTestDescriptor extends ClassTestDescriptor
TestDescriptor for tests based on nested (but not static) Java classes.
The default display name for a non-static nested test class is the simple name of the class.
Node.SkipResultTestDescriptor.Visitor| Constructor and Description |
|---|
NestedClassTestDescriptor(UniqueId uniqueId,
java.lang.Class<?> testClass) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<TestTag> |
getTags()
Get the set of tags associated with this descriptor.
|
protected TestInstanceProvider |
testInstanceProvider(JupiterEngineExecutionContext parentExecutionContext,
ExtensionRegistry registry,
ExtensionContext extensionContext) |
after, before, getTestClass, invokeTestInstancePostProcessors, isContainer, isTest, prepare, shouldBeSkippeddetermineDisplayName, executeAndMaskThrowable, getTags, isLeaf, populateNewExtensionRegistryFromExtendWithaddChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, setSource, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, getAllDescendants, hasTests, isRootpublic NestedClassTestDescriptor(UniqueId uniqueId, java.lang.Class<?> testClass)
public final java.util.Set<TestTag> getTags()
TestDescriptorgetTags in interface TestDescriptorgetTags in class ClassTestDescriptornull
but potentially emptyTestTagprotected TestInstanceProvider testInstanceProvider(JupiterEngineExecutionContext parentExecutionContext, ExtensionRegistry registry, ExtensionContext extensionContext)
testInstanceProvider in class ClassTestDescriptor