diff options
author | 2014-10-21 14:44:52 +0900 | |
---|---|---|
committer | 2014-10-23 16:57:14 +0900 | |
commit | afdde633744e7e93a04d3f966cd118eee86936d2 (patch) | |
tree | b8c10976974cec473467624fb342687202576f16 /tools/dicttool/tests | |
parent | 52e92b8a3fdef3c32dabe7406bd1bd1922d89ea5 (diff) | |
download | latinime-afdde633744e7e93a04d3f966cd118eee86936d2.tar.gz latinime-afdde633744e7e93a04d3f966cd118eee86936d2.tar.xz latinime-afdde633744e7e93a04d3f966cd118eee86936d2.zip |
Some more simplification of DecoderSpec works
Change-Id: I23fa4e4ed96228406e70aa94d84fd7b8d3f69347
Diffstat (limited to 'tools/dicttool/tests')
-rw-r--r-- | tools/dicttool/tests/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtilsTests.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtilsTests.java b/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtilsTests.java index fc0cbfd27..6cdbff7e5 100644 --- a/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtilsTests.java +++ b/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtilsTests.java @@ -82,7 +82,7 @@ public class BinaryDictOffdeviceUtilsTests extends TestCase { assertEquals("Wrong decode spec", BinaryDictOffdeviceUtils.DecoderChainSpec.COMPRESSION, step); } - assertEquals("Wrong decode spec", 3, decodeSpec.mDecoderSpec.size()); + assertEquals("Wrong decode spec", 3, decodeSpec.mDecoderSpec.length); final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(decodeSpec.mFile, 0, decodeSpec.mFile.length()); final FusionDictionary resultDict = |