Kollections
2.0.16
common
kommander-core
/
kommander
/
ExpectLambda
Expect
Lambda
interface
ExpectLambda
:
Expect
<
(
)
->
Unit
>
Members
Members & Extensions
Functions
to
Be
Link copied to clipboard
expect
abstract
fun
toBe
(
expected
:
(
)
->
Unit
)
expect
abstract
fun
toBe
(
expected
:
(
)
->
Unit
,
message
:
String
)
to
Be
Link copied to clipboard
inline
fun
<
E
>
Expect
<
Any
?
>
.
toBe
(
)
:
E
to
Be
Equal
To
Link copied to clipboard
inline
fun
<
E
>
Expect
<
E
>
.
toBeEqualTo
(
expected
:
E
,
message
:
String
?
=
null
)
to
Be
Greater
Than
Link copied to clipboard
fun
<
T
:
Comparable
<
T
>
>
Expect
<
T
>
.
toBeGreaterThan
(
expected
:
T
)
to
Be
Greater
Than
Or
Equal
To
Link copied to clipboard
fun
<
T
:
Comparable
<
T
>
>
Expect
<
T
>
.
toBeGreaterThanOrEqualTo
(
expected
:
T
)
to
Be
Instance
Of
Link copied to clipboard
inline
fun
<
E
>
Expect
<
Any
?
>
.
toBeInstanceOf
(
message
:
String
?
=
null
)
:
Expect
<
E
>
to
Be
Less
Than
Link copied to clipboard
fun
<
T
:
Comparable
<
T
>
>
Expect
<
T
>
.
toBeLessThan
(
expected
:
T
)
to
Be
Less
Than
Or
Equal
To
Link copied to clipboard
fun
<
T
:
Comparable
<
T
>
>
Expect
<
T
>
.
toBeLessThanOrEqualTo
(
expected
:
T
)
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
Be
Unequal
To
Link copied to clipboard
inline
fun
<
T
>
Expect
<
T
>
.
toBeUnequalTo
(
expected
:
T
,
message
:
String
?
=
null
)
to
Contain
Link copied to clipboard
inline
fun
Expect
<
String
?
>
.
toContain
(
other
:
String
,
ignoreCase
:
Boolean
=
true
,
message
:
String
?
=
null
)
to
Fail
Link copied to clipboard
abstract
fun
toFail
(
)
:
Throwable
to
Fail
With
Link copied to clipboard
inline
fun
<
T
:
Throwable
>
ExpectLambda
.
toFailWith
(
)
:
T
to
Pass
Link copied to clipboard
abstract
fun
toPass
(
)
Properties
value
Link copied to clipboard
expect
abstract
val
value
:
(
)
->
Unit