aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/utils/UserHistoryDictIOUtilsTests.java
diff options
context:
space:
mode:
authorYuichiro Hanada <yhanada@google.com>2013-09-12 17:46:09 +0900
committerYuichiro Hanada <yhanada@google.com>2013-09-12 20:14:09 +0900
commit0e40cd0c40f2c731f91ccd0561e251262e5a2614 (patch)
treeebbb0a42820b1c5d1d18a5f3282ecec000b53520 /tests/src/com/android/inputmethod/latin/utils/UserHistoryDictIOUtilsTests.java
parentbe470f06e48e40a0def32e0f34e3ca48113937b5 (diff)
downloadlatinime-0e40cd0c40f2c731f91ccd0561e251262e5a2614.tar.gz
latinime-0e40cd0c40f2c731f91ccd0561e251262e5a2614.tar.xz
latinime-0e40cd0c40f2c731f91ccd0561e251262e5a2614.zip
Add getDictDecoder.
Bug: 9618601 Change-Id: I173100ac704c03f7d5d0d53477e83cab5d1110d4
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/utils/UserHistoryDictIOUtilsTests.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/utils/UserHistoryDictIOUtilsTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/latin/utils/UserHistoryDictIOUtilsTests.java b/tests/src/com/android/inputmethod/latin/utils/UserHistoryDictIOUtilsTests.java
index 72b9478d4..3eabe2b3c 100644
--- a/tests/src/com/android/inputmethod/latin/utils/UserHistoryDictIOUtilsTests.java
+++ b/tests/src/com/android/inputmethod/latin/utils/UserHistoryDictIOUtilsTests.java
@@ -143,7 +143,7 @@ public class UserHistoryDictIOUtilsTests extends AndroidTestCase
}
private void readDictFromFile(final File file, final OnAddWordListener listener) {
- final Ver3DictDecoder dictDecoder = new Ver3DictDecoder(file, DictDecoder.USE_BYTEARRAY);
+ final DictDecoder dictDecoder = FormatSpec.getDictDecoder(file, DictDecoder.USE_BYTEARRAY);
try {
dictDecoder.openDictBuffer();
} catch (FileNotFoundException e) {