aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-11-29 13:04:56 +0900
committerJean Chalard <jchalard@google.com>2013-12-11 12:03:40 +0900
commit3839defc90b8328592256d92caa90102c34a5937 (patch)
tree440a1590517f3609e832c19ebc0551c494352b10 /tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
parent7c8075c2aca45ab60418c4e3b02a510f153b090d (diff)
downloadlatinime-3839defc90b8328592256d92caa90102c34a5937.tar.gz
latinime-3839defc90b8328592256d92caa90102c34a5937.tar.xz
latinime-3839defc90b8328592256d92caa90102c34a5937.zip
Split the header into a separate file.
Bug: 11281748 Change-Id: Ia2490d18bf159990310e10ed45fb6b3a0dee1c5f
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java4
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.");
}
}