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

Commit 84c8c2a2 authored by Tony Mak's avatar Tony Mak Committed by Android (Google) Code Review
Browse files

Merge "Add TEST_MAPPING to textclassifier"

parents ef1f489b 128a61df
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
{
 "imports": [
    {
      "path": "frameworks/base/core/java/android/view/textclassifier"
    }
  ]
}
+23 −0
Original line number Diff line number Diff line
{
  "presubmit": [
    {
      "name": "FrameworksCoreTests",
      "options": [
        {
          "include-filter": "android.view.textclassifier"
        },
        {
          "exclude-annotation": "androidx.test.filters.FlakyTest"
        }
      ]
    },
    {
      "name": "CtsViewTestCases",
      "options": [
        {
          "include-filter": "android.view.textclassifier.cts"
        }
      ]
    }
  ]
}
+1 −2
Original line number Diff line number Diff line
@@ -382,7 +382,6 @@ public class TextClassifierTest {
        assertThat(textLanguage, isTextLanguage("ja"));
    }

    /* DISABLED: b/122467291
    @Test
    public void testSuggestConversationActions_textReplyOnly_maxThree() {
        if (isTextClassifierDisabled()) return;
@@ -410,7 +409,7 @@ public class TextClassifierTest {
            assertThat(conversationAction,
                    isConversationAction(ConversationAction.TYPE_TEXT_REPLY));
        }
    }*/
    }

    @Test
    public void testSuggestConversationActions_textReplyOnly_noMax() {