From 63be066544f19928d6a29c58c028cce7c95fa457 Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Tue, 18 Feb 2014 17:07:46 +0900 Subject: Cleanup. Less code, less chance of stuff escaping, and a bit of a clarification. Yay. Change-Id: I3193fd8ad7ac28195260cbc231c4e498a63a460c --- tests/src/com/android/inputmethod/latin/InputLogicTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/src/com/android/inputmethod/latin/InputLogicTests.java') diff --git a/tests/src/com/android/inputmethod/latin/InputLogicTests.java b/tests/src/com/android/inputmethod/latin/InputLogicTests.java index 2c23d743f..4222c66c8 100644 --- a/tests/src/com/android/inputmethod/latin/InputLogicTests.java +++ b/tests/src/com/android/inputmethod/latin/InputLogicTests.java @@ -357,7 +357,7 @@ public class InputLogicTests extends InputTestsBase { sleep(DELAY_TO_WAIT_FOR_PREDICTIONS); runMessages(); // Test the first prediction is displayed - final SuggestedWords suggestedWords = mLatinIME.getSuggestedWords(); + final SuggestedWords suggestedWords = mLatinIME.getSuggestedWordsForTest(); assertEquals("predictions after space", "Obama", suggestedWords.size() > 0 ? suggestedWords.getWord(0) : null); } @@ -371,7 +371,7 @@ public class InputLogicTests extends InputTestsBase { sleep(DELAY_TO_WAIT_FOR_PREDICTIONS); runMessages(); // Test the first prediction is displayed - final SuggestedWords suggestedWords = mLatinIME.getSuggestedWords(); + final SuggestedWords suggestedWords = mLatinIME.getSuggestedWordsForTest(); assertEquals("predictions after manual pick", "Obama", suggestedWords.size() > 0 ? suggestedWords.getWord(0) : null); } @@ -382,7 +382,7 @@ public class InputLogicTests extends InputTestsBase { sleep(DELAY_TO_WAIT_FOR_PREDICTIONS); runMessages(); // Test the first prediction is not displayed - final SuggestedWords suggestedWords = mLatinIME.getSuggestedWords(); + final SuggestedWords suggestedWords = mLatinIME.getSuggestedWordsForTest(); assertEquals("no prediction after period", 0, suggestedWords.size()); } } -- cgit v1.2.3-83-g751a