# FileComparisonTestAssertionFailure

@Incubating
interface FileComparisonTestAssertionFailure : TestAssertionFailure(source)

Represent a test assertion failure where the test fails due to a broken assertion.

#### Since

8.3

## Functions

getActual
Link copied to clipboard
@Nullable
abstract fun getActual(): @Nullable String
Returns the string representation of the actual value.
getActualContent
Link copied to clipboard
abstract fun getActualContent(): @Nullable Array<Byte>
Returns the string representation of the actual value.
getCauses
Link copied to clipboard
abstract fun getCauses(): List<out Failure>
Returns the underlying causes for this failure, if any.
getClassName
Link copied to clipboard
abstract fun getClassName(): String
The fully-qualified name of the underlying exception type.
getDescription
Link copied to clipboard
@Nullable
abstract fun getDescription(): @Nullable String
Returns a long description of the failure.
getExpected
Link copied to clipboard
@Nullable
abstract fun getExpected(): @Nullable String
Returns the string representation of the expected value.
getExpectedContent
Link copied to clipboard
abstract fun getExpectedContent(): @Nullable Array<Byte>
Returns the string representation of the expected value.
getMessage
Link copied to clipboard
@Nullable
abstract fun getMessage(): @Nullable String
Returns a short message (typically one line) for the failure.
getProblems
Link copied to clipboard
@Incubating
abstract fun getProblems(): List<Problem>
Returns the problems associated with this failure.
getStacktrace
Link copied to clipboard
abstract fun getStacktrace(): String
The stringified version of the stacktrace created from the underlying exception.