aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/InputLogicTestsNonEnglish.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-02-18 01:56:57 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2014-02-18 01:56:57 -0800
commitdb10e81973b4207eebebc377403b67703631918a (patch)
tree0a78e90acffbff1b23163672ef7f8ece3f21a36d /tests/src/com/android/inputmethod/latin/InputLogicTestsNonEnglish.java
parentf2131ad92d8e155e28a798cb3b1848c20800462e (diff)
parent783dabb812d983a7c56dbb1071145c5e58da9ff1 (diff)
downloadlatinime-db10e81973b4207eebebc377403b67703631918a.tar.gz
latinime-db10e81973b4207eebebc377403b67703631918a.tar.xz
latinime-db10e81973b4207eebebc377403b67703631918a.zip
am 783dabb8: Merge "Cleanup."
* commit '783dabb812d983a7c56dbb1071145c5e58da9ff1': Cleanup.
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/InputLogicTestsNonEnglish.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/InputLogicTestsNonEnglish.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/inputmethod/latin/InputLogicTestsNonEnglish.java b/tests/src/com/android/inputmethod/latin/InputLogicTestsNonEnglish.java
index a474c6a8d..1257ae297 100644
--- a/tests/src/com/android/inputmethod/latin/InputLogicTestsNonEnglish.java
+++ b/tests/src/com/android/inputmethod/latin/InputLogicTestsNonEnglish.java
@@ -60,7 +60,7 @@ public class InputLogicTestsNonEnglish extends InputTestsBase {
sleep(DELAY_TO_WAIT_FOR_UNDERLINE);
runMessages();
assertTrue("type word then type space should display punctuation strip",
- mLatinIME.isShowingPunctuationList());
+ mLatinIME.getSuggestedWordsForTest().isPunctuationSuggestions());
pickSuggestionManually(0, PUNCTUATION_FROM_STRIP);
pickSuggestionManually(0, PUNCTUATION_FROM_STRIP);
assertEquals("type word then type space then punctuation from strip twice for French",
@@ -84,7 +84,7 @@ public class InputLogicTestsNonEnglish extends InputTestsBase {
type(WORD_TO_TYPE);
sleep(DELAY_TO_WAIT_FOR_UNDERLINE);
runMessages();
- final SuggestedWords suggestedWords = mLatinIME.getSuggestedWords();
+ final SuggestedWords suggestedWords = mLatinIME.getSuggestedWordsForTest();
assertEquals("type word then type space yields predictions for French",
EXPECTED_RESULT, suggestedWords.size() > 0 ? suggestedWords.getWord(0) : null);
} finally {