aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-05-23 11:27:46 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-23 11:27:46 +0000
commit7336fc13debb5c4824cc7919ca15a9af2766eaf4 (patch)
treeffe9420cd8fcf3ed302e8cb071d4b5c5b5c22571 /tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
parent574a0856f102a2251fe7c79fbdae5ac76319f4d7 (diff)
parentb59272c944eb60584b4dff40b79c429c88347532 (diff)
downloadlatinime-7336fc13debb5c4824cc7919ca15a9af2766eaf4.tar.gz
latinime-7336fc13debb5c4824cc7919ca15a9af2766eaf4.tar.xz
latinime-7336fc13debb5c4824cc7919ca15a9af2766eaf4.zip
am b59272c9: Merge "Version up dynamic dict format from 401 to 402."
* commit 'b59272c944eb60584b4dff40b79c429c88347532': Version up dynamic dict format from 401 to 402.
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java b/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
index 31ad3446a..79384092a 100644
--- a/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
+++ b/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
@@ -47,11 +47,11 @@ public class BinaryDictionaryTests extends AndroidTestCase {
new int[] { FormatSpec.VERSION4, FormatSpec.VERSION4_DEV };
private static boolean canCheckBigramProbability(final int formatVersion) {
- return formatVersion >= FormatSpec.VERSION4_DEV;
+ return formatVersion > FormatSpec.VERSION401;
}
private static boolean supportsBeginningOfSentence(final int formatVersion) {
- return formatVersion >= FormatSpec.VERSION4_DEV;
+ return formatVersion > FormatSpec.VERSION401;
}
private File createEmptyDictionaryAndGetFile(final String dictId,