AssertionResult

@TestOnly
sealed interface AssertionResult(source)

Represents the result of an assertion used within the testing framework.

This sealed interface allows defining various outcomes of assertions, such as inequality or false conditions.

Inheritors

Types

Link copied to clipboard
class False(val message: String) : AssertionResult

Represents an assertion result indicating a failed assertion due to a false condition.

Link copied to clipboard
class NotEqual(val expected: Any?, val actual: Any?, val message: String) : AssertionResult

Represents the result of a failed equality assertion.