summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Joanne Chung <joannechung@google.com> 2020-08-12 22:45:52 +0800
committer Joanne Chung <joannechung@google.com> 2020-08-24 16:06:54 +0800
commit46a8aff03f01f256f12e15f38f521a32fb7cf576 (patch)
tree38b9a95eb81f9c92d3b23bcdf733e7a16856add2
parent5f358680cfcd0b8d7fd23b66fe27c444beeb1a78 (diff)
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
-rw-r--r--core/java/android/inputmethodservice/TEST_MAPPING7
-rw-r--r--core/java/android/view/inputmethod/TEST_MAPPING18
-rw-r--r--services/core/java/com/android/server/inputmethod/TEST_MAPPING7
3 files changed, 32 insertions, 0 deletions
diff --git a/core/java/android/inputmethodservice/TEST_MAPPING b/core/java/android/inputmethodservice/TEST_MAPPING
new file mode 100644
index 000000000000..0ccd75dcbdce
--- /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 000000000000..4b2ea1a096c8
--- /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 000000000000..0ccd75dcbdce
--- /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"
+ }
+ ]
+}