From ae8b17c4b0efd9c6f9f7065a88a559b1f12a08df Mon Sep 17 00:00:00 2001 From: Ibrahim Yilmaz Date: Thu, 1 Aug 2024 12:05:03 +0000 Subject: [SystemUI Screenshot Tests]Add sysui screenshot test to test mapping Any resource changes in core/res doesn't trigger systemui screenshot tests, this can cause presubmit failure and revert. This CL runs systemui screenshot test when any resource is changed in core/res Bug: 351156868 Change-Id: I5c1a82eb76e644cc64d24a156d249d3298207213 Test: Presubmit Flag: TEST_ONLY --- core/res/TEST_MAPPING | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/core/res/TEST_MAPPING b/core/res/TEST_MAPPING index 4d09076779a3..0e01a2ad9b29 100644 --- a/core/res/TEST_MAPPING +++ b/core/res/TEST_MAPPING @@ -11,5 +11,22 @@ } ] } + ], + // v2/sysui/suite/test-mapping-sysui-screenshot-test + "sysui-screenshot-test": [ + { + "name": "SystemUIGoogleScreenshotTests", + "options": [ + { + "exclude-annotation": "org.junit.Ignore" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + { + "exclude-annotation": "android.platform.test.annotations.Postsubmit" + } + ] + } ] -} \ No newline at end of file +} -- cgit v1.2.3-59-g8ed1b