Package org.gradle.tooling
Schnittstelle TestAssertionFailure
- Alle Superschnittstellen:
Failure,TestFailure
- Alle bekannten Unterschnittstellen:
FileComparisonTestAssertionFailure
Represent a test assertion failure where the test fails due to a broken assertion.
- Seit:
- 7.6
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the string representation of the actual value.Returns the string representation of the expected value.Von Schnittstelle geerbte Methoden org.gradle.tooling.Failure
getCauses, getDescription, getMessage, getProblemsVon Schnittstelle geerbte Methoden org.gradle.tooling.TestFailure
getClassName, getStacktrace
-
Methodendetails
-
getExpected
Returns the string representation of the expected value.- Gibt zurück:
- the expected value or
nullif the test framework doesn't supply detailed information on assertion failures
-
getActual
Returns the string representation of the actual value.- Gibt zurück:
- the actual value or
nullif the test framework doesn't supply detailed information on assertion failures
-