am 8317acad: Create dictionary with historical info for testing.

* commit '8317acad48e4894e55d75c2f117e127667c93d6c':
  Create dictionary with historical info for testing.
main
Keisuke Kuroyanagi 2013-12-08 22:56:15 -08:00 committed by Android Git Automerger
commit e63249b63b
1 changed files with 2 additions and 0 deletions

View File

@ -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);