aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-03-27 06:40:43 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-27 06:40:43 +0000
commit83ef574f5660dc487a66d213387a40d02f584e4f (patch)
tree76bfa35bd71ce467f57affb0ccd44ca81ef68190 /tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
parent79fccd5432d50f815daf88380a9a7f5cce2155e5 (diff)
parent6008898b99a14ecdf87f90311c47799e2159d1c8 (diff)
downloadlatinime-83ef574f5660dc487a66d213387a40d02f584e4f.tar.gz
latinime-83ef574f5660dc487a66d213387a40d02f584e4f.tar.xz
latinime-83ef574f5660dc487a66d213387a40d02f584e4f.zip
am 6008898b: Merge "Move code only used for dicttool and tests under tests."
* commit '6008898b99a14ecdf87f90311c47799e2159d1c8': Move code only used for dicttool and tests under tests.
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java b/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
index 918f09067..ae2205b36 100644
--- a/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
+++ b/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
@@ -20,6 +20,7 @@ import android.test.AndroidTestCase;
import android.test.suitebuilder.annotation.LargeTest;
import android.util.Pair;
+import com.android.inputmethod.latin.makedict.BinaryDictIOUtils;
import com.android.inputmethod.latin.makedict.CodePointUtils;
import com.android.inputmethod.latin.makedict.DictDecoder;
import com.android.inputmethod.latin.makedict.DictionaryHeader;
@@ -151,7 +152,8 @@ public class BinaryDictionaryDecayingTests extends AndroidTestCase {
binaryDictionary.flushWithGC();
binaryDictionary.close();
- final DictDecoder dictDecoder = FormatSpec.getDictDecoder(dictFile, 0, dictFile.length());
+ final DictDecoder dictDecoder =
+ BinaryDictIOUtils.getDictDecoder(dictFile, 0, dictFile.length());
try {
final FusionDictionary dict =
dictDecoder.readDictionaryBinary(false /* deleteDictIfBroken */);