@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.DynamicTestExecutor, Node.SkipResult
TestDescriptor.Type, TestDescriptor.Visitor
Constructor and Description |
---|
NestedClassTestDescriptor(UniqueId uniqueId,
Class<?> testClass) |
Modifier and Type | Method and Description |
---|---|
Set<TestTag> |
getTags()
Get the set of tags associated with this descriptor.
|
protected TestInstanceProvider |
testInstanceProvider(JupiterEngineExecutionContext parentExecutionContext,
ExtensionRegistry registry,
ExtensionContext extensionContext) |
after, before, getLegacyReportingName, getTestClass, getType, invokeTestInstancePostProcessors, prepare, shouldBeSkipped
determineDisplayName, executeAndMaskThrowable, getTags, isLeaf, populateNewExtensionRegistryFromExtendWith, shouldContainerBeSkipped, shouldTestBeSkipped
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, setSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
execute, execute
accept, getDescendants, hasTests, isContainer, isRoot, isTest, prune, pruneTree
public final Set<TestTag> getTags()
TestDescriptor
getTags
in interface TestDescriptor
getTags
in class ClassTestDescriptor
null
but potentially emptyTestTag
protected TestInstanceProvider testInstanceProvider(JupiterEngineExecutionContext parentExecutionContext, ExtensionRegistry registry, ExtensionContext extensionContext)
testInstanceProvider
in class ClassTestDescriptor