diff options
author | 2013-12-13 08:33:57 -0800 | |
---|---|---|
committer | 2013-12-13 08:33:57 -0800 | |
commit | 3ac00d1889f7752bec6a653842a1fc2f079ab911 (patch) | |
tree | fc8c92ee41a00075830a6363bfeafe85aa8cbc0b /tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java | |
parent | 379a7e88efaff2af42313faddac86fbdfb5881d1 (diff) | |
parent | a245d15da5d295af21ead9a01583c64796a31ad7 (diff) | |
download | latinime-3ac00d1889f7752bec6a653842a1fc2f079ab911.tar.gz latinime-3ac00d1889f7752bec6a653842a1fc2f079ab911.tar.xz latinime-3ac00d1889f7752bec6a653842a1fc2f079ab911.zip |
am a245d15d: Have dicttool use the native library to generate v4 dicts.
* commit 'a245d15da5d295af21ead9a01583c64796a31ad7':
Have dicttool use the native library to generate v4 dicts.
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java b/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java index c7bc55d96..098b211d9 100644 --- a/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java +++ b/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java @@ -119,13 +119,12 @@ public class BinaryDictionaryDecayingTests extends AndroidTestCase { FormatSpec.FileHeader.ATTRIBUTE_VALUE_TRUE); attributeMap.put(FormatSpec.FileHeader.HAS_HISTORICAL_INFO_ATTRIBUTE, FormatSpec.FileHeader.ATTRIBUTE_VALUE_TRUE); - final String headerFileName = file.getName() + FormatSpec.HEADER_FILE_EXTENSION; if (BinaryDictionary.createEmptyDictFile(file.getAbsolutePath(), FormatSpec.VERSION4, attributeMap)) { return file; } else { - throw new IOException("Empty dictionary " + file.getAbsolutePath() + " " - + headerFileName + " cannot be created."); + throw new IOException("Empty dictionary " + file.getAbsolutePath() + + " cannot be created."); } } |