Module org.junit.platform.launcher
Interface TestExecutionSummary.Failure
-
- All Superinterfaces:
Serializable
- Enclosing interface:
- TestExecutionSummary
public static interface TestExecutionSummary.Failure extends Serializable
Failure of a test or container.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Throwable
getException()
Get theThrowable
causing the failure.TestIdentifier
getTestIdentifier()
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
TestIdentifier
for this failure; nevernull
-
-