summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMohammadinamul Sheik <inamul@google.com>2015-03-13 18:21:22 -0700
committerMohammadinamul Sheik <inamul@google.com>2015-03-13 18:21:22 -0700
commit29500ef4ba8e01f4c467a62399c8249d532ee82c (patch)
tree33edf5ff254cc932391323a034193c95fcdafacb /tests
parent54bf24f64b9bbd4c5e4b6d4c3c6144c047d6ddc6 (diff)
downloadandroid_packages_inputmethods_LatinIME-29500ef4ba8e01f4c467a62399c8249d532ee82c.tar.gz
android_packages_inputmethods_LatinIME-29500ef4ba8e01f4c467a62399c8249d532ee82c.tar.bz2
android_packages_inputmethods_LatinIME-29500ef4ba8e01f4c467a62399c8249d532ee82c.zip
Fix the BinaryDictionaryTests
Change-Id: I09378d74705e6943946ea4f76b15664086a387ed
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java b/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
index 9da1e9470..752051775 100644
--- a/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
+++ b/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
@@ -170,7 +170,7 @@ public class BinaryDictionaryTests extends AndroidTestCase {
private void testAddTooLongWord(final int formatVersion) {
final BinaryDictionary binaryDictionary = getEmptyBinaryDictionary(formatVersion);
final StringBuffer stringBuilder = new StringBuffer();
- for (int i = 0; i < DecoderSpecificConstants.DICTIONARY_MAX_WORD_LENGTH; i++) {
+ for (int i = 0; i < BinaryDictionary.DICTIONARY_MAX_WORD_LENGTH; i++) {
stringBuilder.append('a');
}
final String validLongWord = stringBuilder.toString();