From 2cc5cd509ff9249213dea0368f43af0151a8f648 Mon Sep 17 00:00:00 2001 From: Valentin Iftime Date: Thu, 3 Aug 2023 14:06:40 +0200 Subject: [PATCH] Add TEST_MAPPING for SystemUI notification files Runs CtsNotificationTestCases as pre/postsubmit. Test: atest --test-mapping frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar:presubmit Test: atest --test-mapping frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar:postsubmit Bug: 294034943 Change-Id: I5d3e935ea5623c643c4f6774e4025a7292183f15 --- .../android/systemui/statusbar/TEST_MAPPING | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 packages/SystemUI/src/com/android/systemui/statusbar/TEST_MAPPING diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/TEST_MAPPING b/packages/SystemUI/src/com/android/systemui/statusbar/TEST_MAPPING new file mode 100644 index 0000000000000..8849d6e11e26c --- /dev/null +++ b/packages/SystemUI/src/com/android/systemui/statusbar/TEST_MAPPING @@ -0,0 +1,29 @@ +{ + "presubmit": [ + { + "name": "CtsNotificationTestCases", + "options": [ + { + "exclude-annotation": "android.platform.test.annotations.FlakyTest" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + { + "exclude-annotation": "org.junit.Ignore" + }, + { + "exclude-annotation": "android.platform.test.annotations.LargeTest" + }, + { + "exclude-annotation": "androidx.test.filters.LargeTest" + } + ] + } + ], + "postsubmit": [ + { + "name": "CtsNotificationTestCases" + } + ] +}