aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2013-10-04 00:18:25 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-04 00:18:25 -0700
commit5544b966e3d395fb670192ebe728029dd7bdce63 (patch)
tree82f5d19a2d414d17e4e3af03933719d6bf2bcfe5 /tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
parent10100b2c52fd6073b37eb3d8558439e62c6c9412 (diff)
parent3e5f4b53b0b51288afdd921052974c6740a5aa6b (diff)
downloadlatinime-5544b966e3d395fb670192ebe728029dd7bdce63.tar.gz
latinime-5544b966e3d395fb670192ebe728029dd7bdce63.tar.xz
latinime-5544b966e3d395fb670192ebe728029dd7bdce63.zip
am 3e5f4b53: Merge "Check the elapsed time for decaying."
* commit '3e5f4b53b0b51288afdd921052974c6740a5aa6b': Check the elapsed time for decaying.
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java b/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
index b2d31c21f..ded8eaa97 100644
--- a/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
+++ b/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
@@ -50,8 +50,8 @@ public class BinaryDictionaryDecayingTests extends AndroidTestCase {
}
private void forcePassingShortTime(final BinaryDictionary binaryDictionary) {
- // Entries having low probability would be suppressed once in 2 GCs.
- final int count = 2;
+ // Entries having low probability would be suppressed once in 3 GCs.
+ final int count = 3;
for (int i = 0; i < count; i++) {
binaryDictionary.getPropertyForTests(SET_NEEDS_TO_DECAY_FOR_TESTING_KEY);
binaryDictionary.flushWithGC();