struct TestFailure
source · line 46public
public struct TestFailure(val phase: TestPhase, val cause: Throwable, val location: SourceLocation)
A captured exception with its test phase and attributed source location.
field phase
source · line 47public
val phase: TestPhase
field cause
source · line 48public
val cause: Throwable
field location
source · line 49public
val location: SourceLocation
constructor constructor
source · line 46public
constructor(val phase: TestPhase, val cause: Throwable, val location: SourceLocation)
parameter cause
source · line 48public
val cause: Throwable
parameter phase
source · line 47public
val phase: TestPhase
parameter location
source · line 49public
val location: SourceLocation
function equals
source · line 46publiccompiler-derived
operator fun equals(other: TestFailure): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: TestPhase, Throwable, SourceLocation.