Interface TestExecutionSummary.Failure
-
- Enclosing interface:
- TestExecutionSummary
public static interface TestExecutionSummary.FailureFailure of a test or container.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ThrowablegetException()Get theThrowablecausing the failure.TestIdentifiergetTestIdentifier()Get the identifier of the failed test or container.
-
-
-
Method Detail
-
getTestIdentifier
TestIdentifier getTestIdentifier()
Get the identifier of the failed test or container.- Returns:
- the
TestIdentifierfor this failure; nevernull
-
getException
java.lang.Throwable getException()
Get theThrowablecausing the failure.- Returns:
- the
Throwablefor this failure; nevernull
-
-