diff options
author | 2014-10-15 10:10:27 +0000 | |
---|---|---|
committer | 2014-10-15 10:10:28 +0000 | |
commit | 8fff6ae68b3c2e31687370fc867d3b6098938be7 (patch) | |
tree | 797030aaecb1cf94a19e3d3377b3e436d7761782 /tests/src/com/android/inputmethod/latin/InputLogicTestsLanguageWithoutSpaces.java | |
parent | 183e21c36cd5e05852733508bef317290e5e51ce (diff) | |
parent | 9ddbee8570af667b5b325ae4136853aaea85c5b9 (diff) | |
download | latinime-8fff6ae68b3c2e31687370fc867d3b6098938be7.tar.gz latinime-8fff6ae68b3c2e31687370fc867d3b6098938be7.tar.xz latinime-8fff6ae68b3c2e31687370fc867d3b6098938be7.zip |
Merge "Add the first gesture unit tests."
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/InputLogicTestsLanguageWithoutSpaces.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/InputLogicTestsLanguageWithoutSpaces.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/inputmethod/latin/InputLogicTestsLanguageWithoutSpaces.java b/tests/src/com/android/inputmethod/latin/InputLogicTestsLanguageWithoutSpaces.java index 2560407dc..c16372ab5 100644 --- a/tests/src/com/android/inputmethod/latin/InputLogicTestsLanguageWithoutSpaces.java +++ b/tests/src/com/android/inputmethod/latin/InputLogicTestsLanguageWithoutSpaces.java @@ -74,7 +74,7 @@ public class InputLogicTestsLanguageWithoutSpaces extends InputTestsBase { mInputConnection.setSelection(CURSOR_POS, CURSOR_POS); mLatinIME.onUpdateSelection(typedLength, typedLength, CURSOR_POS, CURSOR_POS, -1, -1); - sleep(DELAY_TO_WAIT_FOR_PREDICTIONS); + sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); runMessages(); assertEquals("start composing inside text", -1, BaseInputConnection.getComposingSpanStart(mEditText.getText())); @@ -91,7 +91,7 @@ public class InputLogicTestsLanguageWithoutSpaces extends InputTestsBase { final String WORD_TO_TYPE = "Barack "; changeKeyboardLocaleAndDictLocale("th", "en_US"); type(WORD_TO_TYPE); - sleep(DELAY_TO_WAIT_FOR_PREDICTIONS); + sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); runMessages(); // Make sure there is no space assertEquals("predictions in lang without spaces", "Barack", |