- java.lang.Object
-
- org.junit.jupiter.api.DynamicNode
-
- Direct Known Subclasses:
DynamicContainer,DynamicTest
@API(status=MAINTAINED, since="5.3") public abstract class DynamicNode extends Object
DynamicNodeserves as the abstract base class for a container or a test case generated at runtime.- Since:
- 5.0
- See Also:
DynamicTest,DynamicContainer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName()Get the display name of thisDynamicNode.Optional<URI>getTestSourceUri()Get the custom test sourceURIof thisDynamicNode.StringtoString()
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Get the display name of thisDynamicNode.- Returns:
- the display name
-
getTestSourceUri
public Optional<URI> getTestSourceUri()
Get the custom test sourceURIof thisDynamicNode.- Returns:
- an
Optionalcontaining the custom test sourceURI; nevernullbut potentially empty - Since:
- 5.3
-
-