From ff32ce9aaaf4284791880f267e3df5b91a2d415d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20G=C3=B6llner?= Date: Fri, 7 Jul 2023 17:23:59 +0100 Subject: [PATCH] Enable SystemUIGoogleScreenshotTests on udc-qpr-dev - Adds Module to Presubmit/Postsubmit - Annotates failing tests with @Ignore - Annotates flaky tests with @FlakyTest Fixes: 274142790 Test: Presubmit Change-Id: Ic6d277e2dccc4f7c7fb2637047b3c27e4b6e0cae --- packages/SystemUI/TEST_MAPPING | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/packages/SystemUI/TEST_MAPPING b/packages/SystemUI/TEST_MAPPING index 01e6bf00a664f..bb8002a18c119 100644 --- a/packages/SystemUI/TEST_MAPPING +++ b/packages/SystemUI/TEST_MAPPING @@ -52,6 +52,20 @@ } ] }, + { + "name": "SystemUIGoogleScreenshotTests", + "options": [ + { + "exclude-annotation": "org.junit.Ignore" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + { + "exclude-annotation": "android.platform.test.annotations.Postsubmit" + } + ] + }, { // TODO(b/251476085): Consider merging with SystemUIGoogleScreenshotTests (in U+) "name": "SystemUIGoogleBiometricsScreenshotTests", @@ -131,5 +145,21 @@ } ] } + ], + "postsubmit": [ + { + "name": "SystemUIGoogleScreenshotTests", + "options": [ + { + "exclude-annotation": "org.junit.Ignore" + }, + { + "exclude-annotation": "android.platform.test.annotations.FlakyTest" + }, + { + "include-annotation": "android.platform.test.annotations.Postsubmit" + } + ] + } ] }