diff options
author | 2013-12-09 15:48:30 +0900 | |
---|---|---|
committer | 2013-12-09 15:48:30 +0900 | |
commit | 8317acad48e4894e55d75c2f117e127667c93d6c (patch) | |
tree | 31130ddc9e48728b3edbe078eb7f2c691acaa844 | |
parent | 0a213fd625e72a8d7d4ba7ed3cb995bf4888d9fb (diff) | |
download | latinime-8317acad48e4894e55d75c2f117e127667c93d6c.tar.gz latinime-8317acad48e4894e55d75c2f117e127667c93d6c.tar.xz latinime-8317acad48e4894e55d75c2f117e127667c93d6c.zip |
Create dictionary with historical info for testing.
Bug: 11073222
Change-Id: I3573badceaceb9f4660884a4b23c337c63103701
-rw-r--r-- | tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java b/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java index 95504ef14..618b4ac1d 100644 --- a/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java +++ b/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java @@ -105,6 +105,8 @@ public class BinaryDictionaryDecayingTests extends AndroidTestCase { FormatSpec.FileHeader.ATTRIBUTE_VALUE_TRUE); attributeMap.put(FormatSpec.FileHeader.USES_FORGETTING_CURVE_ATTRIBUTE, FormatSpec.FileHeader.ATTRIBUTE_VALUE_TRUE); + attributeMap.put(FormatSpec.FileHeader.HAS_HISTORICAL_INFO_ATTRIBUTE, + FormatSpec.FileHeader.ATTRIBUTE_VALUE_TRUE); if (BinaryDictionary.createEmptyDictFile(file.getAbsolutePath(), 4 /* dictVersion */, attributeMap)) { return new File(file, FormatSpec.TRIE_FILE_EXTENSION); |