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
diff --git a/packages/SystemUI/TEST_MAPPING b/packages/SystemUI/TEST_MAPPING
index 281406f..26ec572 100644
--- a/packages/SystemUI/TEST_MAPPING
+++ b/packages/SystemUI/TEST_MAPPING
@@ -15,6 +15,9 @@
"include-filter": "android.platform.test.scenario.notification"
},
{
+ "include-annotation": "android.platform.test.scenario.annotation.Scenario"
+ },
+ {
"exclude-annotation": "androidx.test.filters.FlakyTest"
}
]