Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d0d111c authored by Joanne Chung's avatar Joanne Chung
Browse files

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
parent 6f7648c9
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
@@ -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"
        }
      ]
    }
  ]
}
+1 −1
Original line number Diff line number Diff line
@@ -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;

+15 −0
Original line number Diff line number Diff line
{
  "presubmit": [
    {
      "name": "CtsAutoFillServiceTestCases",
      "options": [
        {
          "include-filter": "android.autofillservice.cts.inline"
        },
        {
          "exclude-annotation": "androidx.test.filters.FlakyTest"
        }
      ]
    }
  ]
}