From 99cdc68a9343fe6a7bf10c6cb490e9d9d1d4169f Mon Sep 17 00:00:00 2001 From: Michal Brzezinski Date: Thu, 9 Sep 2021 16:57:35 +0000 Subject: [PATCH] Adding test-mapping group for large screen specific tests "large-screen-postsubmit" filters test by @LargeScreenOnly annotation. See sample test in ag/15795721. Bug: 191260984 Test: atest --test-mapping frameworks/base/packages/SystemUI:large-screen-postsubmit Change-Id: Iad98e54521ad0ee782b5e28a3cb8c885192a6ec5 Merged-In: Iad98e54521ad0ee782b5e28a3cb8c885192a6ec5 --- packages/SystemUI/TEST_MAPPING | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/packages/SystemUI/TEST_MAPPING b/packages/SystemUI/TEST_MAPPING index 0d18b8dea2844..e509777633e72 100644 --- a/packages/SystemUI/TEST_MAPPING +++ b/packages/SystemUI/TEST_MAPPING @@ -22,6 +22,9 @@ }, { "exclude-annotation": "android.platform.test.annotations.Postsubmit" + }, + { + "exclude-annotation": "android.platform.test.scenario.annotation.LargeScreenOnly" } ] }, @@ -82,6 +85,9 @@ }, { "exclude-annotation": "android.platform.helpers.Staging" + }, + { + "exclude-annotation": "android.platform.test.scenario.annotation.LargeScreenOnly" } ] } @@ -101,6 +107,9 @@ }, { "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + { + "exclude-annotation": "android.platform.test.scenario.annotation.LargeScreenOnly" } ] } @@ -117,5 +126,24 @@ } ] } + ], + "large-screen-postsubmit": [ + { + "name": "PlatformScenarioTests", + "options" : [ + { + "include-filter": "android.platform.test.scenario.sysui" + }, + { + "include-annotation": "android.platform.test.scenario.annotation.LargeScreenOnly" + }, + { + "exclude-annotation": "org.junit.Ignore" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] + } ] }