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:26:39 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-06-25 03:26:39 +0000
commit4a28c9077c954e6b4ddc33482d6b34aaa4e81b65 (patch)
tree37de937e4aa7f12d4433f1b81ce990581c037239 /tests/src/com/android/inputmethod/latin/InputLogicTests.java
parentb31386f755499c6988b6ac7849f42ad74a3b79c5 (diff)
parent3c07fcbc544cac626dead40e7571233950b49216 (diff)
downloadlatinime-4a28c9077c954e6b4ddc33482d6b34aaa4e81b65.tar.gz
latinime-4a28c9077c954e6b4ddc33482d6b34aaa4e81b65.tar.xz
latinime-4a28c9077c954e6b4ddc33482d6b34aaa4e81b65.zip
am 3c07fcbc: Merge "Fix: unit tests by clearing personalized dicts"
* commit '3c07fcbc544cac626dead40e7571233950b49216': 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);