Merge "Fix bug of testCharacterTableIsPresent (dicttool test)"

main
Akifumi Yoshimoto 2014-10-03 10:07:03 +00:00 committed by Android (Google) Code Review
commit 80861cde9d
1 changed files with 1 additions and 1 deletions

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;