-
@Config(sdk = {33}, qualifiers = w227dp-h227dp-small-long-round-watch-xhdpi-keyshidden-nonav)@GraphicsMode(value = GraphicsMode.Mode.NATIVE) public abstract class WearScreenshotTest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classWearScreenshotTest.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ComposeContentTestRulecomposeRuleprivate final TestNametestInfoprivate final WearDevicedeviceprivate final Floattoleranceprivate final FakeImageLoaderEngineimageLoader
-
Constructor Summary
Constructors Constructor Description WearScreenshotTest()
-
Method Summary
Modifier and Type Method Description final ComposeContentTestRulegetComposeRule()final TestNamegetTestInfo()WearDevicegetDevice()FloatgetTolerance()FakeImageLoaderEnginegetImageLoader()final UnitrunTest(String suffix, WearDevice device, Boolean applyDeviceConfig, Boolean captureScreenshot, Function0<Unit> content)final UnitcaptureScreenshot(String suffix)UnitTestScaffold(Function0<Unit> content)StringtestName(String suffix)-
-
Method Detail
-
getComposeRule
final ComposeContentTestRule getComposeRule()
-
getTestInfo
final TestName getTestInfo()
-
getDevice
WearDevice getDevice()
-
getTolerance
Float getTolerance()
-
getImageLoader
FakeImageLoaderEngine getImageLoader()
-
runTest
final Unit runTest(String suffix, WearDevice device, Boolean applyDeviceConfig, Boolean captureScreenshot, Function0<Unit> content)
-
captureScreenshot
final Unit captureScreenshot(String suffix)
-
TestScaffold
Unit TestScaffold(Function0<Unit> content)
-
-
-
-