aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-12-13 08:33:57 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2013-12-13 08:33:57 -0800
commit3ac00d1889f7752bec6a653842a1fc2f079ab911 (patch)
treefc8c92ee41a00075830a6363bfeafe85aa8cbc0b /tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
parent379a7e88efaff2af42313faddac86fbdfb5881d1 (diff)
parenta245d15da5d295af21ead9a01583c64796a31ad7 (diff)
downloadlatinime-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.java5
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.");
}
}