diff options
| author | Joanne Chung <joannechung@google.com> | 2020-07-22 01:12:02 +0800 |
|---|---|---|
| committer | Joanne Chung <joannechung@google.com> | 2020-07-31 13:42:35 +0800 |
| commit | 6d0d111c6dd9695458d4d49da863b708f015a729 (patch) | |
| tree | 6cf919c7c020af2930ef4a392529222102aa97ae /core/java | |
| parent | 6f7648c945982a52dc4304e9ee50deb1bcefdeb1 (diff) | |
Add TEST_MAPPINGs for autofill under widget
Autofill broken tests (b/159037010, b/159035197, b/152444221) that
weren't executed in presubmit. Add the fail tests into TEST_MAPPING
to make sure the tests can be tested in presubmit.
Bug: 154961272
Test: atest --test-mapping frameworks/base/core/java/android/widget
Test: atest --test-mapping
frameworks/base/core/java/android/widget/inline
Test: TreeHugger
Change-Id: I718c86d8f55234a330235672016c877986c30d54
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/widget/TEST_MAPPING | 39 | ||||
| -rw-r--r-- | core/java/android/widget/inline/InlineContentView.java | 2 | ||||
| -rw-r--r-- | core/java/android/widget/inline/TEST_MAPPING | 15 |
3 files changed, 55 insertions, 1 deletions
diff --git a/core/java/android/widget/TEST_MAPPING b/core/java/android/widget/TEST_MAPPING index f089f48368a0..df3024eda4b6 100644 --- a/core/java/android/widget/TEST_MAPPING +++ b/core/java/android/widget/TEST_MAPPING @@ -17,6 +17,45 @@ } ], "file_patterns": ["Toast\\.java"] + }, + { + "name": "CtsAutoFillServiceTestCases", + "options": [ + { + "include-filter": "android.autofillservice.cts.LoginActivityTest" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + { + "exclude-annotation": "android.platform.test.annotations.AppModeFull" + } + ] + }, + { + "name": "CtsAutoFillServiceTestCases", + "options": [ + { + "include-filter": "android.autofillservice.cts.AutofillValueTest" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] + }, + { + "name": "CtsAutoFillServiceTestCases", + "options": [ + { + "include-filter": "android.autofillservice.cts.CheckoutActivityTest" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + { + "exclude-annotation": "android.platform.test.annotations.AppModeFull" + } + ] } ] } diff --git a/core/java/android/widget/inline/InlineContentView.java b/core/java/android/widget/inline/InlineContentView.java index 9712311aab7c..699a7735bbee 100644 --- a/core/java/android/widget/inline/InlineContentView.java +++ b/core/java/android/widget/inline/InlineContentView.java @@ -59,7 +59,7 @@ import java.util.function.Consumer; */ public class InlineContentView extends ViewGroup { - private static final String TAG = "InlineContentView"; + private static final String TAG = "InlineContentView_test2"; private static final boolean DEBUG = false; diff --git a/core/java/android/widget/inline/TEST_MAPPING b/core/java/android/widget/inline/TEST_MAPPING new file mode 100644 index 000000000000..0baad5c31af9 --- /dev/null +++ b/core/java/android/widget/inline/TEST_MAPPING @@ -0,0 +1,15 @@ +{ + "presubmit": [ + { + "name": "CtsAutoFillServiceTestCases", + "options": [ + { + "include-filter": "android.autofillservice.cts.inline" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] + } + ] +} |
