diff options
author | 2014-02-12 21:02:42 -0800 | |
---|---|---|
committer | 2014-02-12 21:02:42 -0800 | |
commit | 542d21e1244f6dd8cbfff10d210abf0afe808ba0 (patch) | |
tree | 25eed81f9530b3b742a39162bb31e8c95e922805 | |
parent | d360816f43e117d2b922547b712a8e022cf87a84 (diff) | |
parent | 85f6edbaba0a8ce54257ca79d18b9c6ab241558c (diff) | |
download | latinime-542d21e1244f6dd8cbfff10d210abf0afe808ba0.tar.gz latinime-542d21e1244f6dd8cbfff10d210abf0afe808ba0.tar.xz latinime-542d21e1244f6dd8cbfff10d210abf0afe808ba0.zip |
am 85f6edba: Merge "Fix a failing test."
* commit '85f6edbaba0a8ce54257ca79d18b9c6ab241558c':
Fix a failing test.
-rw-r--r-- | tests/src/com/android/inputmethod/latin/InputTestsBase.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/latin/InputTestsBase.java b/tests/src/com/android/inputmethod/latin/InputTestsBase.java index b267bc5da..fb6bda70b 100644 --- a/tests/src/com/android/inputmethod/latin/InputTestsBase.java +++ b/tests/src/com/android/inputmethod/latin/InputTestsBase.java @@ -202,7 +202,9 @@ public class InputTestsBase extends ServiceTestCase<LatinIMEForTests> { 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. + // to run on a later call and ruin things. We need to wait first because some of them + // can be posted with a delay (notably, MSG_RESUME_SUGGESTIONS) + sleep(DELAY_TO_WAIT_FOR_PREDICTIONS); runMessages(); } |