Commit Graph

2 Commits

Author SHA1 Message Date
Jordan Demeulenaere
ce7b8182ad Remove SystemUI ScreenshotTestRule (1/2)
This CL removes SystemUI ScreenshotTestRule now that most of what it
does was contributed back to the platform screenshot library in
ag/19135707.

Bug: 230832101
Test: atest SystemUIGoogleScreenshotTests
Change-Id: I38d01bcd35e6263752c69539dd65950d898f53de
2022-07-08 16:34:11 +02:00
Jordan Demeulenaere
634f763ba9 Introduce ComposeScreenshotTestRule for Compose UIs
This CL introduces the ComposeScreenshotTestRule to easily create a
screenshot diff test of a given Composable for multiple configurations
(devices, theme and orientation).

An actual Compose diff test will be added in a follow-up CL to keep the
size of this one reasonable.

Test: atest ExampleFeatureScreenshotTests
Bug: 230832101
Change-Id: I597dd621eb927354f3a8512da3e0331dd40acb98
2022-06-29 10:49:28 +02:00