Kevlar
2.0.13
common
kommander-core
/
expect
/
LambdaExpectation
Lambda
Expectation
interface
LambdaExpectation
:
BasicExpectation
<
(
)
->
Unit
>
Deprecated
use kommander instead
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
>
BasicExpectation
<
Any
?
>
.
toBe
(
)
:
E
to
Be
Equal
To
Link copied to clipboard
inline
fun
<
E
>
BasicExpectation
<
E
>
.
toBeEqualTo
(
expected
:
E
,
message
:
String
?
=
null
)
to
Be
Greater
Than
Link copied to clipboard
fun
<
T
:
Comparable
<
T
>
>
BasicExpectation
<
T
>
.
toBeGreaterThan
(
expected
:
T
)
to
Be
Greater
Than
Or
Equal
To
Link copied to clipboard
fun
<
T
:
Comparable
<
T
>
>
BasicExpectation
<
T
>
.
toBeGreaterThanOrEqualTo
(
expected
:
T
)
to
Be
Instance
Of
Link copied to clipboard
inline
fun
<
E
>
BasicExpectation
<
Any
?
>
.
toBeInstanceOf
(
message
:
String
?
=
null
)
:
BasicExpectation
<
E
>
to
Be
Less
Than
Link copied to clipboard
fun
<
T
:
Comparable
<
T
>
>
BasicExpectation
<
T
>
.
toBeLessThan
(
expected
:
T
)
to
Be
Less
Than
Or
Equal
To
Link copied to clipboard
fun
<
T
:
Comparable
<
T
>
>
BasicExpectation
<
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
>
BasicExpectation
<
T
>
.
toBeUnequalTo
(
expected
:
T
,
message
:
String
?
=
null
)
to
Contain
Link copied to clipboard
inline
fun
BasicExpectation
<
String
?
>
.
toContain
(
other
:
String
,
ignoreCase
:
Boolean
=
true
)
to
Fail
Link copied to clipboard
abstract
fun
toFail
(
)
:
Throwable
to
Fail
With
Link copied to clipboard
inline
fun
<
T
:
Throwable
>
LambdaExpectation
.
toFailWith
(
)
:
T
to
Pass
Link copied to clipboard
abstract
fun
toPass
(
)
Properties
value
Link copied to clipboard
expect
abstract
val
value
:
(
)
->
Unit