Interface TestExecutionSummary.Failure
- All Superinterfaces:
Serializable
- Enclosing interface:
- TestExecutionSummary
Failure of a test or container.
-
Method Summary
Modifier and TypeMethodDescriptionGet theThrowablecausing 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
TestIdentifierfor this failure; nevernull
-
getException
Throwable getException()Get theThrowablecausing the failure.- Returns:
- the
Throwablefor this failure; nevernull
-