Skip to content
Snippets Groups Projects
Commit 52cef132 authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi
Browse files

Fix: unit tests by clearing personalized dicts

Bug: 14119293
Change-Id: I61cc05fb09342103f453ba83709c6be68d2f695e
parent 702e153f
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment