@API(status=INTERNAL,
since="5.0")
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.SkipResultTestDescriptor.Type, TestDescriptor.Visitorchildren| 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 Object |
instantiateTestClass(JupiterEngineExecutionContext parentExecutionContext,
ExtensionRegistry registry,
ExtensionContext extensionContext) |
after, before, getLegacyReportingName, getTestClass, getType, preparecleanUp, determineDisplayName, executeAndMaskThrowable, getTags, shouldBeSkippedaddChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, containsTests, getDescendants, isContainer, isRoot, isTest, mayRegisterTests, prunepublic final Set<TestTag> getTags()
TestDescriptorgetTags in interface TestDescriptorgetTags in class ClassTestDescriptornull
but potentially emptyTestTagprotected Object instantiateTestClass(JupiterEngineExecutionContext parentExecutionContext, ExtensionRegistry registry, ExtensionContext extensionContext)
instantiateTestClass in class ClassTestDescriptorCopyright © 2020. All rights reserved.