@API(value=Internal) public class NestedClassTestDescriptor extends ClassTestDescriptor
TestDescriptor for tests based on nested (but not static) Java classes.
The pattern of the unique ID takes the form of
{parent unique id}:{fully qualified class name of parent}@{simple class name}.
| Constructor and Description |
|---|
NestedClassTestDescriptor(java.lang.String uniqueId,
java.lang.Class<?> testClass) |
| Modifier and Type | Method and Description |
|---|---|
protected TestInstanceProvider |
testInstanceProvider(JUnit5EngineExecutionContext context) |
afterAll, beforeAll, getDisplayName, getName, getTags, getTestClass, isContainer, isTest, prepare, shouldBeSkippeddetermineDisplayName, executeAndMaskThrowable, getTags, populateNewExtensionRegistryFromExtendWithaccept, addChild, equals, findByUniqueId, getChildren, getParent, getSource, getUniqueId, hashCode, removeChild, removeFromHierarchy, setParent, setSource, toStringpublic NestedClassTestDescriptor(java.lang.String uniqueId,
java.lang.Class<?> testClass)
protected TestInstanceProvider testInstanceProvider(JUnit5EngineExecutionContext context)
testInstanceProvider in class ClassTestDescriptor