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

Commit 7b6e999c authored by Jean Chalard's avatar Jean Chalard
Browse files

Fix a test.

Bug: 12483313
Change-Id: Ia811d614b9260367871bc5717f587538adf46789
parent db0adf86
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -381,7 +381,7 @@ public class InputLogicTests extends InputTestsBase {
        type(WORD_TO_TYPE);
        sleep(DELAY_TO_WAIT_FOR_PREDICTIONS);
        runMessages();
        // Test the first prediction is displayed
        // Test the first prediction is not displayed
        final SuggestedWords suggestedWords = mLatinIME.getSuggestedWords();
        assertEquals("no prediction after period", 0, suggestedWords.size());
    }
+3 −0
Original line number Diff line number Diff line
@@ -201,6 +201,9 @@ public class InputTestsBase extends ServiceTestCase<LatinIMEForTests> {
        mLatinIME.onStartInputView(ei, false);
        mInputConnection = ic;
        changeLanguage("en_US");
        // Run messages to avoid the messages enqueued by startInputView() and its friends
        // to run on a later call and ruin things.
        runMessages();
    }

    @Override