From e40cfde135b68cdaaabb16fdf1a9294a4dca61fb Mon Sep 17 00:00:00 2001 From: Fabian Kozynski Date: Tue, 21 Sep 2021 11:40:00 -0400 Subject: [PATCH] Better TEST_MAPPING for TileService tests Test: atest Fixes: 20023466 Change-Id: I5ba08c77aec8b93f0c7b9268e22d5c3aa0b4f7e9 --- .../service/quicksettings/TEST_MAPPING | 15 ++++++++++ .../src/com/android/systemui/qs/TEST_MAPPING | 8 +---- .../com/android/server/statusbar/TEST_MAPPING | 29 +++++++++++++++++++ 3 files changed, 45 insertions(+), 7 deletions(-) create mode 100644 core/java/android/service/quicksettings/TEST_MAPPING create mode 100644 services/core/java/com/android/server/statusbar/TEST_MAPPING diff --git a/core/java/android/service/quicksettings/TEST_MAPPING b/core/java/android/service/quicksettings/TEST_MAPPING new file mode 100644 index 0000000000000..2d45c5b252ccc --- /dev/null +++ b/core/java/android/service/quicksettings/TEST_MAPPING @@ -0,0 +1,15 @@ +{ + "presubmit": [ + { + "name": "CtsTileServiceTestCases", + "options": [ + { + "exclude-annotation": "org.junit.Ignore" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] + } + ] +} \ No newline at end of file diff --git a/packages/SystemUI/src/com/android/systemui/qs/TEST_MAPPING b/packages/SystemUI/src/com/android/systemui/qs/TEST_MAPPING index 55da2038754d9..2d45c5b252ccc 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/TEST_MAPPING +++ b/packages/SystemUI/src/com/android/systemui/qs/TEST_MAPPING @@ -1,14 +1,8 @@ { "presubmit": [ { - "name": "CtsAppTestCases", + "name": "CtsTileServiceTestCases", "options": [ - { - "include-filter": "android.app.cts.TileServiceTest" - }, - { - "include-filter": "android.app.cts.BooleanTileServiceTest" - }, { "exclude-annotation": "org.junit.Ignore" }, diff --git a/services/core/java/com/android/server/statusbar/TEST_MAPPING b/services/core/java/com/android/server/statusbar/TEST_MAPPING new file mode 100644 index 0000000000000..67ea557d7806d --- /dev/null +++ b/services/core/java/com/android/server/statusbar/TEST_MAPPING @@ -0,0 +1,29 @@ +{ + "presubmit": [ + { + "name": "CtsTileServiceTestCases", + "options": [ + { + "exclude-annotation": "org.junit.Ignore" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] + }, + { + "name": "CtsAppTestCases", + "options": [ + { + "exclude-annotation": "org.junit.Ignore" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + { + "include-filter": "android.app.cts.RequestTileServiceAddTest" + } + ] + } + ] +} \ No newline at end of file