diff options
author | 2013-10-04 16:11:11 +0900 | |
---|---|---|
committer | 2013-10-04 16:11:11 +0900 | |
commit | 67c855ea6f882190d73df9d3fae0b56929fd6888 (patch) | |
tree | e85e800ec5b8ad82a4680eb0e47f117b21897e52 /tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java | |
parent | 3d92954120a5bfd0a34d81a6b78c58ff07040b01 (diff) | |
download | latinime-67c855ea6f882190d73df9d3fae0b56929fd6888.tar.gz latinime-67c855ea6f882190d73df9d3fae0b56929fd6888.tar.xz latinime-67c855ea6f882190d73df9d3fae0b56929fd6888.zip |
Check the elapsed time for decaying.
Bug: 6669677
Change-Id: I0401a4c0908c702ce65abfa5e017dd16cb1296f9
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java | 4 |
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(); |