aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/InputLogicTests.java
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-06-25 03:23:31 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-06-24 01:46:27 +0000
commit3c07fcbc544cac626dead40e7571233950b49216 (patch)
treea2b5e40f53e68a16d997775338b3be35afc184b4 /tests/src/com/android/inputmethod/latin/InputLogicTests.java
parentde7ec1c61276c3272b62fe214c341f4be57c4970 (diff)
parent52cef1321140190d4fd248b7da26296f89f89659 (diff)
downloadlatinime-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.java2
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);