mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 3c07fcbc: Merge "Fix: unit tests by clearing personalized dicts"
* commit '3c07fcbc544cac626dead40e7571233950b49216': Fix: unit tests by clearing personalized dicts
This commit is contained in:
commit
4a28c9077c
@ -482,6 +482,7 @@ public class InputLogicTests extends InputTestsBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testPredictionsWithDoubleSpaceToPeriod() {
|
public void testPredictionsWithDoubleSpaceToPeriod() {
|
||||||
|
mLatinIME.clearPersonalizedDictionariesForTest();
|
||||||
final String WORD_TO_TYPE = "Barack ";
|
final String WORD_TO_TYPE = "Barack ";
|
||||||
type(WORD_TO_TYPE);
|
type(WORD_TO_TYPE);
|
||||||
sleep(DELAY_TO_WAIT_FOR_PREDICTIONS);
|
sleep(DELAY_TO_WAIT_FOR_PREDICTIONS);
|
||||||
@ -517,6 +518,7 @@ public class InputLogicTests extends InputTestsBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testNoPredictionsAfterPeriod() {
|
public void testNoPredictionsAfterPeriod() {
|
||||||
|
mLatinIME.clearPersonalizedDictionariesForTest();
|
||||||
final String WORD_TO_TYPE = "Barack. ";
|
final String WORD_TO_TYPE = "Barack. ";
|
||||||
type(WORD_TO_TYPE);
|
type(WORD_TO_TYPE);
|
||||||
sleep(DELAY_TO_WAIT_FOR_PREDICTIONS);
|
sleep(DELAY_TO_WAIT_FOR_PREDICTIONS);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user