@API(status=MAINTAINED,
since="5.3")
public abstract class DynamicNode
extends java.lang.Object
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 java.lang.String |
displayName |
private java.net.URI |
testSourceUri
Custom test source
URI associated with this node; potentially null. |
| Constructor and Description |
|---|
DynamicNode(java.lang.String displayName,
java.net.URI testSourceUri) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName()
Get the display name of this
DynamicNode. |
java.util.Optional<java.net.URI> |
getTestSourceUri()
Get the custom test source
URI of this DynamicNode. |
java.lang.String |
toString() |
private final java.lang.String displayName
private final java.net.URI testSourceUri
URI associated with this node; potentially null.DynamicNode(java.lang.String displayName,
java.net.URI testSourceUri)
public java.lang.String getDisplayName()
DynamicNode.public java.util.Optional<java.net.URI> getTestSourceUri()
URI of this DynamicNode.Optional containing the custom test source URI;
never null but potentially emptypublic java.lang.String toString()
toString in class java.lang.Object