-
@Config(sdk = {33}, qualifiers = w227dp-h227dp-small-long-round-watch-xhdpi-keyshidden-nonav)@GraphicsMode(value = GraphicsMode.Mode.NATIVE) public abstract class WearLegacyA11yTest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classWearLegacyA11yTest.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ComposeContentTestRulecomposeRuleprivate final TestNametestInfoprivate final Floattoleranceprivate final FakeImageLoaderEngineimageLoaderprivate final BooleanforceHardware
-
Constructor Summary
Constructors Constructor Description WearLegacyA11yTest()
-
Method Summary
Modifier and Type Method Description final ComposeContentTestRulegetComposeRule()final TestNamegetTestInfo()FloatgetTolerance()FakeImageLoaderEnginegetImageLoader()BooleangetForceHardware()final UnitrunScreenTest(Function0<Unit> content)final UnitrunComponentTest(Color background, Function0<Unit> content)final UnitcaptureScreenshot(String suffix)StringtestName(String suffix)final UnitcaptureScreenA11yRoboImage(String filePath, RoborazziOptions roborazziOptions)UnitTestScaffold(Function0<Unit> content)UnitComponentScaffold(Function0<Unit> content)-
-
Method Detail
-
getComposeRule
final ComposeContentTestRule getComposeRule()
-
getTestInfo
final TestName getTestInfo()
-
getTolerance
Float getTolerance()
-
getImageLoader
FakeImageLoaderEngine getImageLoader()
-
getForceHardware
Boolean getForceHardware()
-
runScreenTest
final Unit runScreenTest(Function0<Unit> content)
-
runComponentTest
final Unit runComponentTest(Color background, Function0<Unit> content)
-
captureScreenshot
final Unit captureScreenshot(String suffix)
-
captureScreenA11yRoboImage
final Unit captureScreenA11yRoboImage(String filePath, RoborazziOptions roborazziOptions)
-
TestScaffold
Unit TestScaffold(Function0<Unit> content)
-
ComponentScaffold
Unit ComponentScaffold(Function0<Unit> content)
-
-
-
-