diff options
author | 2014-06-25 03:23:31 +0000 | |
---|---|---|
committer | 2014-06-24 01:46:27 +0000 | |
commit | 3c07fcbc544cac626dead40e7571233950b49216 (patch) | |
tree | a2b5e40f53e68a16d997775338b3be35afc184b4 /tests/src/com/android/inputmethod/latin/InputLogicTests.java | |
parent | de7ec1c61276c3272b62fe214c341f4be57c4970 (diff) | |
parent | 52cef1321140190d4fd248b7da26296f89f89659 (diff) | |
download | latinime-3c07fcbc544cac626dead40e7571233950b49216.tar.gz latinime-3c07fcbc544cac626dead40e7571233950b49216.tar.xz latinime-3c07fcbc544cac626dead40e7571233950b49216.zip |
Merge "Fix: unit tests by clearing personalized dicts"
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/InputLogicTests.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/InputLogicTests.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/src/com/android/inputmethod/latin/InputLogicTests.java b/tests/src/com/android/inputmethod/latin/InputLogicTests.java index 460f600ac..2709ecba6 100644 --- a/tests/src/com/android/inputmethod/latin/InputLogicTests.java +++ b/tests/src/com/android/inputmethod/latin/InputLogicTests.java @@ -482,6 +482,7 @@ public class InputLogicTests extends InputTestsBase { } public void testPredictionsWithDoubleSpaceToPeriod() { + mLatinIME.clearPersonalizedDictionariesForTest(); final String WORD_TO_TYPE = "Barack "; type(WORD_TO_TYPE); sleep(DELAY_TO_WAIT_FOR_PREDICTIONS); @@ -517,6 +518,7 @@ public class InputLogicTests extends InputTestsBase { } public void testNoPredictionsAfterPeriod() { + mLatinIME.clearPersonalizedDictionariesForTest(); final String WORD_TO_TYPE = "Barack. "; type(WORD_TO_TYPE); sleep(DELAY_TO_WAIT_FOR_PREDICTIONS); |