Module org.junit.platform.launcher
Interface TestExecutionSummary.Failure
- All Superinterfaces:
Serializable
- Enclosing interface:
- TestExecutionSummary
Failure of a test or container.
-
Method Summary
Modifier and TypeMethodDescriptionGet theThrowable
causing the failure.Get the identifier of the failed test or container.
-
Method Details
-
getTestIdentifier
TestIdentifier getTestIdentifier()Get the identifier of the failed test or container.- Returns:
- the
TestIdentifier
for this failure; nevernull
-
getException
Throwable getException()Get theThrowable
causing the failure.- Returns:
- the
Throwable
for this failure; nevernull
-