Merge "Fix: unit tests by clearing personalized dicts"
This commit is contained in:
commit
3c07fcbc54
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue