Merge "Fix build"

main
Jean Chalard 2014-02-18 11:10:06 +00:00 committed by Android (Google) Code Review
commit 0b03681fd5
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ public class InputLogicTests extends InputTestsBase {
sleep(DELAY_TO_WAIT_FOR_PREDICTIONS); sleep(DELAY_TO_WAIT_FOR_PREDICTIONS);
runMessages(); runMessages();
// Test the first prediction is displayed // Test the first prediction is displayed
final SuggestedWords suggestedWords = mLatinIME.getSuggestedWords(); final SuggestedWords suggestedWords = mLatinIME.getSuggestedWordsForTest();
assertEquals("predictions after recorrection", "Obama", assertEquals("predictions after recorrection", "Obama",
suggestedWords.size() > 0 ? suggestedWords.getWord(0) : null); suggestedWords.size() > 0 ? suggestedWords.getWord(0) : null);
} }