gradle
8.2

# TestAssertionFailure

@Incubating
interface TestAssertionFailure : TestFailure

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

## Functions

getActual
Link copied to clipboard
@Nullable
abstract fun getActual(): String
Returns the string representation of the actual value.
getCauses
Link copied to clipboard
abstract fun getCauses(): List<out Failure>
getClassName
Link copied to clipboard
abstract fun getClassName(): String
getDescription
Link copied to clipboard
abstract fun getDescription(): String
getExpected
Link copied to clipboard
@Nullable
abstract fun getExpected(): String
Returns the string representation of the expected value.
getMessage
Link copied to clipboard
abstract fun getMessage(): String
getStacktrace
Link copied to clipboard
abstract fun getStacktrace(): String