From e4ae5855cb2ed0ee8a40badecd6025945a9c5578 Mon Sep 17 00:00:00 2001 From: Keisuke Kuroyanagi Date: Thu, 9 Jan 2014 16:23:43 +0900 Subject: [PATCH] Fix a unit test in InputLogicTests. Change-Id: I63a20bb2e4b3c39495fade6cae3a14fdd11ca48c --- tests/src/com/android/inputmethod/latin/InputLogicTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/com/android/inputmethod/latin/InputLogicTests.java b/tests/src/com/android/inputmethod/latin/InputLogicTests.java index 039f581a7..1a249ce45 100644 --- a/tests/src/com/android/inputmethod/latin/InputLogicTests.java +++ b/tests/src/com/android/inputmethod/latin/InputLogicTests.java @@ -368,8 +368,8 @@ public class InputLogicTests extends InputTestsBase { // Choose the auto-correction, which is always in position 0. For "Barack", the // auto-correction should be "Barack". pickSuggestionManually(0, WORD_TO_TYPE); - runMessages(); sleep(DELAY_TO_WAIT_FOR_PREDICTIONS); + runMessages(); // Test the first prediction is displayed final SuggestedWords suggestedWords = mLatinIME.getSuggestedWords(); assertEquals("predictions after manual pick", "Obama",