From f3dcd5b7ecbbff25dc6ca2b2a6b2eee3a2037b67 Mon Sep 17 00:00:00 2001 From: lbill Date: Thu, 3 Nov 2022 08:38:29 +0000 Subject: [PATCH] Add TEST_MAPPING for android.platform.test.scenario.biometrics 1. Presubmit - Trigger SystemUIGoogleTests UnitTest - Trigger Biometrics Scenario Tests 2. Postsubmit - sysui-platinum-postsubmit: Biometrics Scenario Tests - sysui-staged-platinum-postsubmit: Biometrics Scenario Tests Test: presubmit Bug: 257208080 Change-Id: Ibad48a927107f897761d458227b9fc027b1aed87 --- .../android/systemui/biometrics/TEST_MAPPING | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 packages/SystemUI/src/com/android/systemui/biometrics/TEST_MAPPING diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/TEST_MAPPING b/packages/SystemUI/src/com/android/systemui/biometrics/TEST_MAPPING new file mode 100644 index 0000000000000..eb655d5ccb851 --- /dev/null +++ b/packages/SystemUI/src/com/android/systemui/biometrics/TEST_MAPPING @@ -0,0 +1,72 @@ +{ + // TODO(b/257208080) Create atp/config/test/suite/test-mapping-presubmit-biometrics_cloud-tf.gcl + "presubmit-sysui": [ + { + "name": "PlatformScenarioTests", + "options": [ + { + "include-filter": "android.platform.test.scenario.biometrics" + }, + { + "include-annotation": "android.platform.test.scenario.annotation.Scenario" + }, + { + "exclude-annotation": "org.junit.Ignore" + }, + { + "exclude-annotation": "android.platform.test.annotations.Postsubmit" + } + ] + } + ], + "presubmit": [ + { + "name": "SystemUIGoogleTests", + "options": [ + { + "exclude-annotation": "org.junit.Ignore" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] + } + ], + // TODO(b/257208080) Reuse sysui-platinum-postsubmit or create biometrics-platinum-postsubmit + "sysui-platinum-postsubmit": [ + { + "name": "PlatformScenarioTests", + "options": [ + { + "include-filter": "android.platform.test.scenario.biometrics" + }, + { + "include-annotation": "android.platform.test.scenario.annotation.Scenario" + }, + { + "exclude-annotation": "org.junit.Ignore" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] + } + ], + // TODO(b/257208080) Reuse sysui-staged-platinum-postsubmit or create biometrics-staged-platinum-postsubmit + "sysui-staged-platinum-postsubmit": [ + { + "name": "PlatformScenarioTests", + "options": [ + { + "include-filter": "android.platform.test.scenario.biometrics" + }, + { + "include-annotation": "android.platform.test.scenario.annotation.Scenario" + }, + { + "exclude-annotation": "org.junit.Ignore" + } + ] + } + ] +}