Fix unit tests by adding @UsedForTesting.

Change-Id: I62ec07210817295f59a174383ee4b33cc4fc2ca6
This commit is contained in:
Keisuke Kuroyanagi 2014-06-20 16:27:46 +09:00
parent f73769c638
commit d2e566f999

View file

@ -362,6 +362,7 @@ abstract public class ExpandableBinaryDictionary extends Dictionary {
/** /**
* Dynamically remove the n-gram entry in the dictionary. * Dynamically remove the n-gram entry in the dictionary.
*/ */
@UsedForTesting
public void removeNgramDynamically(final PrevWordsInfo prevWordsInfo, final String word) { public void removeNgramDynamically(final PrevWordsInfo prevWordsInfo, final String word) {
reloadDictionaryIfRequired(); reloadDictionaryIfRequired();
asyncExecuteTaskWithWriteLock(new Runnable() { asyncExecuteTaskWithWriteLock(new Runnable() {