From 8724e0eb7527d99ffcc2dfea86f843003bd4e6a0 Mon Sep 17 00:00:00 2001 From: Sally Date: Thu, 15 Apr 2021 23:45:57 +0000 Subject: [PATCH] Add UiAutomation shell permission tests to Shell presubmit tests Bug: 185174828 Test: (on internal branch) run atest in packages/Shell, tests run Change-Id: I3e53116239ec39e4c6cb3325dbfb8aa1a501377f --- packages/Shell/TEST_MAPPING | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/Shell/TEST_MAPPING b/packages/Shell/TEST_MAPPING index a149b5cda3eac..9bb1b4b992075 100644 --- a/packages/Shell/TEST_MAPPING +++ b/packages/Shell/TEST_MAPPING @@ -18,6 +18,20 @@ "exclude-annotation": "androidx.test.filters.FlakyTest" } ] + }, + { + "name": "CtsUiAutomationTestCases", + "options": [ + { + "include-filter": "android.app.uiautomation.cts.UiAutomationTest#testAdoptAllShellPermissions" + }, + { + "include-filter": "android.app.uiautomation.cts.UiAutomationTest#testAdoptSomeShellPermissions" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] } ], "postsubmit": [