am 85040b7c: Merge "Fix a unit test in InputLogicTests."
* commit '85040b7cde2a8d7165bcfff7101ac09caea2af52': Fix a unit test in InputLogicTests.main
commit
00b77f0b81
|
@ -368,8 +368,8 @@ public class InputLogicTests extends InputTestsBase {
|
||||||
// Choose the auto-correction, which is always in position 0. For "Barack", the
|
// Choose the auto-correction, which is always in position 0. For "Barack", the
|
||||||
// auto-correction should be "Barack".
|
// auto-correction should be "Barack".
|
||||||
pickSuggestionManually(0, WORD_TO_TYPE);
|
pickSuggestionManually(0, WORD_TO_TYPE);
|
||||||
runMessages();
|
|
||||||
sleep(DELAY_TO_WAIT_FOR_PREDICTIONS);
|
sleep(DELAY_TO_WAIT_FOR_PREDICTIONS);
|
||||||
|
runMessages();
|
||||||
// Test the first prediction is displayed
|
// Test the first prediction is displayed
|
||||||
final SuggestedWords suggestedWords = mLatinIME.getSuggestedWords();
|
final SuggestedWords suggestedWords = mLatinIME.getSuggestedWords();
|
||||||
assertEquals("predictions after manual pick", "Obama",
|
assertEquals("predictions after manual pick", "Obama",
|
||||||
|
|
Loading…
Reference in New Issue