Package org.gradle.tooling
Interface FileComparisonTestAssertionFailure
- All Superinterfaces:
Failure,TestAssertionFailure,TestFailure
Represent a test assertion failure where the test fails due to a broken assertion.
- Since:
- 8.3
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]Returns the string representation of the actual value.byte[]Returns the string representation of the expected value.Methods inherited from interface org.gradle.tooling.Failure
getCauses, getDescription, getMessage, getProblemsMethods inherited from interface org.gradle.tooling.TestAssertionFailure
getActual, getExpectedMethods inherited from interface org.gradle.tooling.TestFailure
getClassName, getStacktrace
-
Method Details
-
getExpectedContent
Returns the string representation of the expected value.- Returns:
- the expected value or
nullif the test framework doesn't supply detailed information on assertion failures
-
getActualContent
Returns the string representation of the actual value.- Returns:
- the actual value or
nullif the test framework doesn't supply detailed information on assertion failures
-