aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dicttool/tests/com/android/inputmethod/latin/makedict/BinaryDictInputOutputTest.java
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2013-08-15 06:53:22 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-08-15 06:53:23 +0000
commitf74ddfbb06dbdd74fefee49bd63f2c1b9f61ad13 (patch)
tree6f2f5dbed96625a3267f55d4492d9f57b78a814e /tools/dicttool/tests/com/android/inputmethod/latin/makedict/BinaryDictInputOutputTest.java
parenta38a15ddc0aa314578828de29bba51cfcf39c8de (diff)
parent4c63d0614e7ed7aea4bcbab3a17090d841661d92 (diff)
downloadlatinime-f74ddfbb06dbdd74fefee49bd63f2c1b9f61ad13.tar.gz
latinime-f74ddfbb06dbdd74fefee49bd63f2c1b9f61ad13.tar.xz
latinime-f74ddfbb06dbdd74fefee49bd63f2c1b9f61ad13.zip
Merge "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils."
Diffstat (limited to 'tools/dicttool/tests/com/android/inputmethod/latin/makedict/BinaryDictInputOutputTest.java')
-rw-r--r--tools/dicttool/tests/com/android/inputmethod/latin/makedict/BinaryDictInputOutputTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dicttool/tests/com/android/inputmethod/latin/makedict/BinaryDictInputOutputTest.java b/tools/dicttool/tests/com/android/inputmethod/latin/makedict/BinaryDictInputOutputTest.java
index 096902879..caad1c5f6 100644
--- a/tools/dicttool/tests/com/android/inputmethod/latin/makedict/BinaryDictInputOutputTest.java
+++ b/tools/dicttool/tests/com/android/inputmethod/latin/makedict/BinaryDictInputOutputTest.java
@@ -25,7 +25,7 @@ import java.util.ArrayList;
import java.util.HashMap;
/**
- * Unit tests for BinaryDictInputOutput.
+ * Unit tests for BinaryDictInputUtils and BinaryDictOutputUtils.
*/
public class BinaryDictInputOutputTest extends TestCase {
// Test the flattened array contains the expected number of nodes, and
@@ -39,7 +39,7 @@ public class BinaryDictInputOutputTest extends TestCase {
dict.add("ftb", 1, null, false /* isNotAWord */);
dict.add("bar", 1, null, false /* isNotAWord */);
dict.add("fool", 1, null, false /* isNotAWord */);
- final ArrayList<Node> result = BinaryDictInputOutput.flattenTree(dict.mRoot);
+ final ArrayList<Node> result = BinaryDictOutputUtils.flattenTree(dict.mRoot);
assertEquals(4, result.size());
while (!result.isEmpty()) {
final Node n = result.remove(0);