From dd52fd821c5f88fb858f10afbdc1de464bd98ab4 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 --- packages/SystemUI/TEST_MAPPING | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/packages/SystemUI/TEST_MAPPING b/packages/SystemUI/TEST_MAPPING index 31cf5303a75e3..45e034544ac69 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" } ] }, @@ -94,6 +97,9 @@ }, { "exclude-annotation": "android.platform.helpers.Staging" + }, + { + "exclude-annotation": "android.platform.test.scenario.annotation.LargeScreenOnly" } ] } @@ -110,6 +116,9 @@ }, { "exclude-annotation": "org.junit.Ignore" + }, + { + "exclude-annotation": "android.platform.test.scenario.annotation.LargeScreenOnly" } ] } @@ -126,5 +135,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" + } + ] + } ] }