summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Valentin Iftime <valiiftime@google.com> 2023-08-03 14:06:40 +0200
committer Valentin Iftime <valiiftime@google.com> 2023-08-03 14:06:40 +0200
commit2cc5cd509ff9249213dea0368f43af0151a8f648 (patch)
tree3512b396eb9d6d5395251484321fd380ce9302ef
parent8a4ce2a56fee3cac85c600e984dc6d8fcac7749c (diff)
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
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/TEST_MAPPING29
1 files changed, 29 insertions, 0 deletions
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 000000000000..8849d6e11e26
--- /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"
+ }
+ ]
+}