toggle menu
Litho
androidJvm
switch theme
search in API
litho-testing
/
com.facebook.litho.testing.assertj
/
HamcrestCondition
Hamcrest
Condition
open
class
HamcrestCondition
<
T
>
:
Condition
<
T
>
Wraps a Hamcrest < in an AssertJ Condition.
Members
Constructors
Hamcrest
Condition
Link copied to clipboard
constructor
(
matcher
:
Matcher
<
T
>
)
Functions
as
Link copied to clipboard
open
fun
as
(
newDescription
:
String
,
args
:
Array
<
Any
>
)
:
Condition
<
T
>
abstract
fun
as
(
p
:
String
,
p1
:
Array
<
Any
>
)
:
SELF
described
As
Link copied to clipboard
open
fun
describedAs
(
newDescription
:
String
,
args
:
Array
<
Any
>
)
:
Condition
<
T
>
abstract
fun
describedAs
(
p
:
String
,
p1
:
Array
<
Any
>
)
:
SELF
description
Link copied to clipboard
open
fun
description
(
)
:
Description
matches
Link copied to clipboard
open
fun
matches
(
value
:
T
)
:
Boolean
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String