From 46a8aff03f01f256f12e15f38f521a32fb7cf576 Mon Sep 17 00:00:00 2001 From: Joanne Chung Date: Wed, 12 Aug 2020 22:45:52 +0800 Subject: [PATCH] Add TEST_MAPPINGs for autofill tests under inputmethod related paths Add inline related tests into TEST_MAPPING to make sure the tests can be tested in presubmit. Bug: 154961272 Test: TreeHugger Change-Id: I8227cee82f27fb02e93ad1e40600f19f5c7495b7 --- .../android/inputmethodservice/TEST_MAPPING | 7 +++++++ .../java/android/view/inputmethod/TEST_MAPPING | 18 ++++++++++++++++++ .../android/server/inputmethod/TEST_MAPPING | 7 +++++++ 3 files changed, 32 insertions(+) create mode 100644 core/java/android/inputmethodservice/TEST_MAPPING create mode 100644 core/java/android/view/inputmethod/TEST_MAPPING create mode 100644 services/core/java/com/android/server/inputmethod/TEST_MAPPING diff --git a/core/java/android/inputmethodservice/TEST_MAPPING b/core/java/android/inputmethodservice/TEST_MAPPING new file mode 100644 index 0000000000000..0ccd75dcbdced --- /dev/null +++ b/core/java/android/inputmethodservice/TEST_MAPPING @@ -0,0 +1,7 @@ +{ + "imports": [ + { + "path": "frameworks/base/core/java/android/view/inputmethod" + } + ] +} diff --git a/core/java/android/view/inputmethod/TEST_MAPPING b/core/java/android/view/inputmethod/TEST_MAPPING new file mode 100644 index 0000000000000..4b2ea1a096c88 --- /dev/null +++ b/core/java/android/view/inputmethod/TEST_MAPPING @@ -0,0 +1,18 @@ +{ + "presubmit": [ + { + "name": "CtsAutoFillServiceTestCases", + "options": [ + { + "include-filter": "android.autofillservice.cts.inline" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + { + "exclude-annotation": "android.platform.test.annotations.AppModeFull" + } + ] + } + ] +} diff --git a/services/core/java/com/android/server/inputmethod/TEST_MAPPING b/services/core/java/com/android/server/inputmethod/TEST_MAPPING new file mode 100644 index 0000000000000..0ccd75dcbdced --- /dev/null +++ b/services/core/java/com/android/server/inputmethod/TEST_MAPPING @@ -0,0 +1,7 @@ +{ + "imports": [ + { + "path": "frameworks/base/core/java/android/view/inputmethod" + } + ] +}