From 1aa15ffa25c39001f6f72ea45e8aa45807c498a1 Mon Sep 17 00:00:00 2001 From: easoncylee Date: Mon, 2 Dec 2019 23:20:23 +0800 Subject: [PATCH] Convert apct/framework/window_manager_presubmit-cloud-tf to Test Mapping Suite. This CL is to convert CF presubmit tests to run in Test Mapping suite. It has been verified that the test coverage is the same as the original ATP config. Bug: 145165552 Bug: 146392848 Test: TreeHugger atest FrameworksServicesTests atest FrameworksCoreTests atest WmTests atest FrameworksMockingCoreTests Change-Id: I30b59e4e51897d222a1580bef89491e41865c06a --- services/TEST_MAPPING | 48 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 services/TEST_MAPPING diff --git a/services/TEST_MAPPING b/services/TEST_MAPPING new file mode 100644 index 0000000000000..5652ab1b88b99 --- /dev/null +++ b/services/TEST_MAPPING @@ -0,0 +1,48 @@ +{ + "presubmit": [ + { + "name": "FrameworksCoreTests", + "options": [ + { + "include-annotation": "android.platform.test.annotations.Presubmit" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] + }, + { + "name": "FrameworksServicesTests", + "options": [ + { + "include-annotation": "android.platform.test.annotations.Presubmit" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] + }, + { + "name": "FrameworksMockingCoreTests", + "options": [ + { + "include-annotation": "android.platform.test.annotations.Presubmit" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] + }, + { + "name": "WmTests", + "options": [ + { + "include-annotation": "android.platform.test.annotations.Presubmit" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] + } + ] +}