DynamicNode serves as the abstract base class for a container or a
test case generated at runtime.
DynamicTest, DynamicContainer
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final @Nullable URI | testSourceUri
Custom test source |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Optional | |
| public String |
| displayName | back to summary |
|---|---|
| private final String displayName | |
| testSourceUri | back to summary |
|---|---|
| private final @Nullable URI testSourceUri Custom test source | |
| DynamicNode | back to summary |
|---|---|
| pack-priv DynamicNode(String displayName, @Nullable URI testSourceUri) | |
| getDisplayName | back to summary |
|---|---|
| public String getDisplayName() Get the display name of this
| |
| getTestSourceUri | back to summary |
|---|---|
| public Optional Get the custom test source | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |