toggle menu
Litho
androidJvm
switch theme
search in API
litho-core
/
com.facebook.litho
/
TestItem
Test
Item
class
TestItem
Holds information about a
TestOutput
.
Members
Constructors
Test
Item
Link copied to clipboard
constructor
(
)
Types
Acquire
Key
Link copied to clipboard
class
AcquireKey
Properties
acquire
Key
Link copied to clipboard
val
acquireKey
:
TestItem.AcquireKey
Unique key to identify if this test-item was reused
bounds
Link copied to clipboard
@get:
VisibleForTesting
var
bounds
:
Rect
content
Link copied to clipboard
var
content
:
Any
?
host
Link copied to clipboard
@get:
VisibleForTesting
var
host
:
ComponentHost
?
is
Checked
Link copied to clipboard
val
isChecked
:
Boolean
test
Key
Link copied to clipboard
@get:
VisibleForTesting
var
testKey
:
String
?
text
Content
Link copied to clipboard
@get:
VisibleForTesting
val
textContent
:
String
text
Items
Link copied to clipboard
val
textItems
:
List
<
CharSequence
>
Functions
set
Bounds
Link copied to clipboard
fun
setBounds
(
left
:
Int
,
top
:
Int
,
right
:
Int
,
bottom
:
Int
)