aboutsummaryrefslogtreecommitdiffstats
path: root/tools/makedict/tests/com/android/inputmethod/latin/BinaryDictInputOutputTest.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-01-05 21:36:31 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-01-05 21:36:31 -0800
commit3a1a94c3cb4801dfe3985ab2b171e9a54b2d2ad2 (patch)
treebfd296ba8e26e1668313ec00c4bd9c5b5b238a4c /tools/makedict/tests/com/android/inputmethod/latin/BinaryDictInputOutputTest.java
parente1e5a3fa2f01d5fa01e529f2bda19234bb096aa1 (diff)
parenteec2e51e2cbc9e69739187557846a439ed74325e (diff)
downloadlatinime-3a1a94c3cb4801dfe3985ab2b171e9a54b2d2ad2.tar.gz
latinime-3a1a94c3cb4801dfe3985ab2b171e9a54b2d2ad2.tar.xz
latinime-3a1a94c3cb4801dfe3985ab2b171e9a54b2d2ad2.zip
Merge "Add shortcut support to the in-memory format of makedict (B3)"
Diffstat (limited to 'tools/makedict/tests/com/android/inputmethod/latin/BinaryDictInputOutputTest.java')
-rw-r--r--tools/makedict/tests/com/android/inputmethod/latin/BinaryDictInputOutputTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/makedict/tests/com/android/inputmethod/latin/BinaryDictInputOutputTest.java b/tools/makedict/tests/com/android/inputmethod/latin/BinaryDictInputOutputTest.java
index 79cf14b2b..6ac046bbf 100644
--- a/tools/makedict/tests/com/android/inputmethod/latin/BinaryDictInputOutputTest.java
+++ b/tools/makedict/tests/com/android/inputmethod/latin/BinaryDictInputOutputTest.java
@@ -39,11 +39,11 @@ public class BinaryDictInputOutputTest extends TestCase {
// that it does not contain any duplicates.
public void testFlattenNodes() {
final FusionDictionary dict = new FusionDictionary();
- dict.add("foo", 1, null);
- dict.add("fta", 1, null);
- dict.add("ftb", 1, null);
- dict.add("bar", 1, null);
- dict.add("fool", 1, null);
+ dict.add("foo", 1, null, null);
+ dict.add("fta", 1, null, null);
+ dict.add("ftb", 1, null, null);
+ dict.add("bar", 1, null, null);
+ dict.add("fool", 1, null, null);
final ArrayList<Node> result = BinaryDictInputOutput.flattenTree(dict.mRoot);
assertEquals(4, result.size());
while (!result.isEmpty()) {