struct TestActions
source · line 37public
public struct TestActions(val body: TestAction, val before: TestAction? = None, val after: TestAction? = None)
A test body with optional setup and cleanup actions. Cleanup runs after an initialized case even when setup or the body fails.
field body
source · line 38public
val body: TestAction
field after
source · line 40public
val after: TestAction? = None
constructor constructor
source · line 37public
constructor(val body: TestAction, val before: TestAction? = None, val after: TestAction? = None)
parameter body
source · line 38public
val body: TestAction
parameter before
source · line 39public
val before: TestAction? = None
parameter after
source · line 40public
val after: TestAction? = None
field before
source · line 39public
val before: TestAction? = None
function equals
source · line 37publiccompiler-derived
operator fun equals(other: TestActions): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: TestAction, Option<TestAction>.