Kevlar
2.0.13
common
kommander-core
/
kommander.internal
/
ExpectImpl
Expect
Impl
class
ExpectImpl
<
E
>
(
val
value
:
E
)
:
Expect
<
E
>
Members
Members & Extensions
Constructors
Expect
Impl
Link copied to clipboard
constructor
(
value
:
E
)
Functions
to
Be
Link copied to clipboard
open
override
fun
toBe
(
expected
:
E
)
open
override
fun
toBe
(
expected
:
@
UnsafeVariance
E
,
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
open
override
fun
toBeNonNull
(
)
open
override
fun
toBeNonNull
(
message
:
String
)
to
Be
Null
Link copied to clipboard
open
override
fun
toBeNull
(
)
open
override
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
)
Properties
value
Link copied to clipboard
open
override
val
value
:
E