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

Commit 030535d7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Test updates for I044ac25a19ba5b7fd0ee470ca0a13dc65cbd2679" into qt-dev

parents 9730e58f 0f1d77ef
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;