toggle menu
horologist
androidJvm
switch theme
search in API
roboscreenshots
/
com.google.android.horologist.screenshots.rng
/
WearScreenshotTest
Wear
Screenshot
Test
@
Config
(
sdk
=
[
33
]
,
qualifiers
=
"w227dp-h227dp-small-notlong-round-watch-xhdpi-keyshidden-nonav"
)
@
GraphicsMode
(
value
=
GraphicsMode.Mode.NATIVE
)
abstract
class
WearScreenshotTest
Inheritors
WearDeviceScreenshotTest
Members
Constructors
Wear
Screenshot
Test
Link copied to clipboard
constructor
(
)
Properties
compose
Rule
Link copied to clipboard
val
composeRule
:
ComposeContentTestRule
device
Link copied to clipboard
abstract
val
device
:
WearDevice
tolerance
Link copied to clipboard
open
val
tolerance
:
Float
=
0.0f
Functions
capture
Screenshot
Link copied to clipboard
fun
captureScreenshot
(
suffix
:
String
)
run
Test
Link copied to clipboard
fun
runTest
(
suffix
:
String
?
=
null
,
content
:
@
Composable
(
)
->
Unit
)