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

Commit 0f1d77ef authored by Abodunrinwa Toki's avatar Abodunrinwa Toki
Browse files

Test updates for I044ac25a19ba5b7fd0ee470ca0a13dc65cbd2679

Remove actions suggestions en model from system image.

Fixes: 129129336
Test: atest android.view.textclassifier
Change-Id: I43966c48e9167d3968981cd3ad514eba61f1d709
parent 0f0a12cc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ import org.hamcrest.BaseMatcher;
import org.hamcrest.Description;
import org.hamcrest.Matcher;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;

@@ -411,6 +412,7 @@ public class TextClassifierTest {
        assertThat(textLanguage, isTextLanguage("ja"));
    }

    @Ignore  // Doesn't work without a language-based model.
    @Test
    public void testSuggestConversationActions_textReplyOnly_maxOne() {
        if (isTextClassifierDisabled()) return;
@@ -438,6 +440,7 @@ public class TextClassifierTest {
        Truth.assertThat(conversationAction.getTextReply()).isNotNull();
    }

    @Ignore  // Doesn't work without a language-based model.
    @Test
    public void testSuggestConversationActions_textReplyOnly_noMax() {
        if (isTextClassifierDisabled()) return;
@@ -493,6 +496,7 @@ public class TextClassifierTest {
        Truth.assertThat(actionIntent.getData()).isEqualTo(Uri.parse("https://www.android.com"));
    }

    @Ignore  // Doesn't work without a language-based model.
    @Test
    public void testSuggestConversationActions_copy() {
        if (isTextClassifierDisabled()) return;