aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-10-31 14:19:44 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-10-31 14:19:44 +0000
commitb3bae2e89bdd6046ff6cc1fd0fe4be889e66ec17 (patch)
tree83d386ee7a2edfd541e0c88f8f044c4bcd3c9334 /tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
parentef931546a0236ac2e24ec78f2830e3c36d56775d (diff)
parentea468cc9de468b6574f98b3a7614decfcb7e456e (diff)
downloadlatinime-b3bae2e89bdd6046ff6cc1fd0fe4be889e66ec17.tar.gz
latinime-b3bae2e89bdd6046ff6cc1fd0fe4be889e66ec17.tar.xz
latinime-b3bae2e89bdd6046ff6cc1fd0fe4be889e66ec17.zip
Merge "Update v4 format version from 402 to 403."
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java b/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
index b9764488e..039330c87 100644
--- a/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
+++ b/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
@@ -49,7 +49,7 @@ public class BinaryDictionaryDecayingTests extends AndroidTestCase {
private static final String TEST_LOCALE = "test";
private static final int DUMMY_PROBABILITY = 0;
private static final int[] DICT_FORMAT_VERSIONS =
- new int[] { FormatSpec.VERSION4, FormatSpec.VERSION4_DEV };
+ new int[] { FormatSpec.VERSION402, FormatSpec.VERSION403, FormatSpec.VERSION4_DEV };
private static final String DICTIONARY_ID = "TestDecayingBinaryDictionary";
private int mCurrentTime = 0;
@@ -73,11 +73,11 @@ public class BinaryDictionaryDecayingTests extends AndroidTestCase {
}
private static boolean supportsCountBasedNgram(final int formatVersion) {
- return formatVersion >= FormatSpec.VERSION4_DEV;
+ return formatVersion >= FormatSpec.VERSION403;
}
private static boolean supportsNgram(final int formatVersion) {
- return formatVersion >= FormatSpec.VERSION4_DEV;
+ return formatVersion >= FormatSpec.VERSION403;
}
private void onInputWord(final BinaryDictionary binaryDictionary, final String word,