Kommander
2.0.16
common
kommander-coroutines
/
expect
/
SuspendLambdaExpectation
Suspend
Lambda
Expectation
interface
SuspendLambdaExpectation
:
BasicExpectation
<
suspend
(
)
->
Unit
>
Deprecated
use kommander instead
Members
Members & Extensions
Functions
to
Be
Link copied to clipboard
expect
abstract
fun
toBe
(
expected
:
suspend
(
)
->
Unit
)
expect
abstract
fun
toBe
(
expected
:
suspend
(
)
->
Unit
,
message
:
String
)
to
Be
Non
Null
Link copied to clipboard
expect
abstract
fun
toBeNonNull
(
)
expect
abstract
fun
toBeNonNull
(
message
:
String
)
to
Be
Null
Link copied to clipboard
expect
abstract
fun
toBeNull
(
)
expect
abstract
fun
toBeNull
(
message
:
String
)
to
Fail
Link copied to clipboard
open
suspend
fun
toFail
(
)
:
Throwable
to
Fail
With
Link copied to clipboard
inline suspend
fun
<
T
:
Throwable
>
SuspendLambdaExpectation
.
toFailWith
(
)
:
T
to
Pass
Link copied to clipboard
open
suspend
fun
toPass
(
)
Properties
value
Link copied to clipboard
expect
abstract
val
value
:
suspend
(
)
->
Unit