aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-01-16 09:27:14 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2014-01-16 09:27:14 -0800
commitb775b3c96ba670d575479d8b8b0ee32d35e17cb2 (patch)
tree4acf4342b298eb82fa1c1a5fa84be4b1d8d3ff17 /tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
parentacb16d34e7aa2447889d3b6adee4f745c3cd3c19 (diff)
parentf4bf620502198202b98882254d7a355e1f5a6e45 (diff)
downloadlatinime-b775b3c96ba670d575479d8b8b0ee32d35e17cb2.tar.gz
latinime-b775b3c96ba670d575479d8b8b0ee32d35e17cb2.tar.xz
latinime-b775b3c96ba670d575479d8b8b0ee32d35e17cb2.zip
am f4bf6205: Merge "Add a dedicated method to control time in native code."
* commit 'f4bf620502198202b98882254d7a355e1f5a6e45': Add a dedicated method to control time in native code.
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java b/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
index d0059e37b..604434f9e 100644
--- a/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
+++ b/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
@@ -750,14 +750,14 @@ public class BinaryDictionaryTests extends AndroidTestCase {
addBigramWords(binaryDictionary, word0, word1, bigramProbability);
}
assertEquals(new HashSet<String>(words).size(), Integer.parseInt(
- binaryDictionary.getPropertyForTests(BinaryDictionary.UNIGRAM_COUNT_QUERY)));
+ binaryDictionary.getPropertyForTest(BinaryDictionary.UNIGRAM_COUNT_QUERY)));
assertEquals(new HashSet<Pair<String, String>>(bigrams).size(), Integer.parseInt(
- binaryDictionary.getPropertyForTests(BinaryDictionary.BIGRAM_COUNT_QUERY)));
+ binaryDictionary.getPropertyForTest(BinaryDictionary.BIGRAM_COUNT_QUERY)));
binaryDictionary.flushWithGC();
assertEquals(new HashSet<String>(words).size(), Integer.parseInt(
- binaryDictionary.getPropertyForTests(BinaryDictionary.UNIGRAM_COUNT_QUERY)));
+ binaryDictionary.getPropertyForTest(BinaryDictionary.UNIGRAM_COUNT_QUERY)));
assertEquals(new HashSet<Pair<String, String>>(bigrams).size(), Integer.parseInt(
- binaryDictionary.getPropertyForTests(BinaryDictionary.BIGRAM_COUNT_QUERY)));
+ binaryDictionary.getPropertyForTest(BinaryDictionary.BIGRAM_COUNT_QUERY)));
binaryDictionary.close();
}