commit | e4ae5855cb2ed0ee8a40badecd6025945a9c5578 | [log] [tgz] |
---|---|---|
author | Keisuke Kuroyanagi <ksk@google.com> | Thu Jan 09 16:23:43 2014 +0900 |
committer | Keisuke Kuroyanagi <ksk@google.com> | Thu Jan 09 16:23:43 2014 +0900 |
tree | 6d53a7d69d3b2a7c9f64fa98ffae7ca5c563694f | |
parent | 5742a415f37a3f3d4ddba4c7cc0b47385db7ecc7 [diff] |
Fix a unit test in InputLogicTests. Change-Id: I63a20bb2e4b3c39495fade6cae3a14fdd11ca48c
diff --git a/tests/src/com/android/inputmethod/latin/InputLogicTests.java b/tests/src/com/android/inputmethod/latin/InputLogicTests.java index 039f581..1a249ce 100644 --- a/tests/src/com/android/inputmethod/latin/InputLogicTests.java +++ b/tests/src/com/android/inputmethod/latin/InputLogicTests.java
@@ -368,8 +368,8 @@ // 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",