am 80861cde: Merge "Fix bug of testCharacterTableIsPresent (dicttool test)"

* commit '80861cde9d1597f770da667eca24d39889bfdb3a':
  Fix bug of testCharacterTableIsPresent (dicttool test)
This commit is contained in:
Akifumi Yoshimoto 2014-10-03 10:10:30 +00:00 committed by Android Git Automerger
commit f16021ef9c

View file

@ -307,7 +307,7 @@ public class BinaryDictDecoderEncoderTests extends AndroidTestCase {
public void testCharacterTableIsPresent() throws IOException, UnsupportedFormatException { public void testCharacterTableIsPresent() throws IOException, UnsupportedFormatException {
final String[] wordSource = {"words", "used", "for", "testing", "a", "code point", "table"}; final String[] wordSource = {"words", "used", "for", "testing", "a", "code point", "table"};
final List<String> words = Arrays.asList(wordSource); final List<String> words = Arrays.asList(wordSource);
final String correctCodePointTable = "eotdsanirfg bclwup"; final String correctCodePointTable = "toesdrniawuplgfcb ";
final String dictName = "codePointTableTest"; final String dictName = "codePointTableTest";
final String dictVersion = Long.toString(System.currentTimeMillis()); final String dictVersion = Long.toString(System.currentTimeMillis());
final String codePointTableAttribute = DictionaryHeader.CODE_POINT_TABLE_KEY; final String codePointTableAttribute = DictionaryHeader.CODE_POINT_TABLE_KEY;