diff options
author | 2013-12-11 03:37:05 +0000 | |
---|---|---|
committer | 2013-12-11 03:37:05 +0000 | |
commit | a8ffdf0288288cb7a0386cc21e95913d6092e80a (patch) | |
tree | 772c50001fd808637090b8fd54b203dffe56bc17 /tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java | |
parent | 499371a5efdd5e3b76d12370fcd63fb7963a2488 (diff) | |
parent | 3839defc90b8328592256d92caa90102c34a5937 (diff) | |
download | latinime-a8ffdf0288288cb7a0386cc21e95913d6092e80a.tar.gz latinime-a8ffdf0288288cb7a0386cc21e95913d6092e80a.tar.xz latinime-a8ffdf0288288cb7a0386cc21e95913d6092e80a.zip |
Merge "Split the header into a separate file."
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java | 4 |
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 7fa52e902..c14840258 100644 --- a/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java +++ b/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java @@ -72,10 +72,10 @@ public class BinaryDictionaryTests extends AndroidTestCase { FormatSpec.FileHeader.ATTRIBUTE_VALUE_TRUE); if (BinaryDictionary.createEmptyDictFile(file.getAbsolutePath(), FormatSpec.VERSION4, attributeMap)) { - return new File(file, FormatSpec.TRIE_FILE_EXTENSION); + return new File(file, FormatSpec.HEADER_FILE_EXTENSION); } else { throw new IOException("Empty dictionary " + file.getAbsolutePath() + " " - + FormatSpec.TRIE_FILE_EXTENSION + " cannot be created."); + + FormatSpec.HEADER_FILE_EXTENSION + " cannot be created."); } } |