From f1ae70743091d3bf68a1fea31c5c974a94f4cb9e Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Tue, 3 Dec 2019 09:25:52 -0800 Subject: [PATCH] Require @Scenario annotation on platinum tests Only functional tests should run on the platinum suite, microbenchmark and other test suites should be ignored. Test: atest --test-mapping ./:staged-platinum-postsubmit Bug: 139609145 Change-Id: Ib265a5261b3a60f07ccec0565c0cea16467a8390 --- packages/SystemUI/TEST_MAPPING | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/SystemUI/TEST_MAPPING b/packages/SystemUI/TEST_MAPPING index 281406f24cb2e..26ec5726a4a23 100644 --- a/packages/SystemUI/TEST_MAPPING +++ b/packages/SystemUI/TEST_MAPPING @@ -14,6 +14,9 @@ { "include-filter": "android.platform.test.scenario.notification" }, + { + "include-annotation": "android.platform.test.scenario.annotation.Scenario" + }, { "exclude-annotation": "androidx.test.filters.FlakyTest" }