From d3a43832993250c6b1a68084895249290b3986f6 Mon Sep 17 00:00:00 2001 From: Keisuke Kuroyanagi Date: Wed, 20 Nov 2013 19:16:16 +0900 Subject: [PATCH] Fix: BinaryDictionaryDecayingTests. Change-Id: I3b415463bb23d1ad58ece62ba271412d66210a9c --- .../inputmethod/latin/BinaryDictionaryDecayingTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java b/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java index cd5384ea4..12b1caab1 100644 --- a/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java +++ b/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java @@ -225,6 +225,7 @@ public class BinaryDictionaryDecayingTests extends AndroidTestCase { Integer.parseInt(binaryDictionary.getPropertyForTests( BinaryDictionary.UNIGRAM_COUNT_QUERY)); while (binaryDictionary.needsToRunGC(true /* mindsBlockByGC */)) { + binaryDictionary.getPropertyForTests(SET_NEEDS_TO_DECAY_FOR_TESTING_KEY); binaryDictionary.flushWithGC(); } final int unigramCountAfterGC = @@ -291,6 +292,7 @@ public class BinaryDictionaryDecayingTests extends AndroidTestCase { Integer.parseInt(binaryDictionary.getPropertyForTests( BinaryDictionary.BIGRAM_COUNT_QUERY)); while (binaryDictionary.needsToRunGC(true /* mindsBlockByGC */)) { + binaryDictionary.getPropertyForTests(SET_NEEDS_TO_DECAY_FOR_TESTING_KEY); binaryDictionary.flushWithGC(); } final int bigramCountAfterGC =