am addc5933: Fix: PersonalizationDictionaryTests.

* commit 'addc593349fa226237b5f2c754dcdfb97ee2b842':
  Fix: PersonalizationDictionaryTests.
This commit is contained in:
Keisuke Kuroyanagi 2014-08-29 13:00:57 +00:00 committed by Android Git Automerger
commit b7e541759d

View file

@ -52,7 +52,7 @@ public class PersonalizationDictionaryTests extends AndroidTestCase {
final ArrayList<String> dictTypes = new ArrayList<>(); final ArrayList<String> dictTypes = new ArrayList<>();
dictTypes.add(Dictionary.TYPE_MAIN); dictTypes.add(Dictionary.TYPE_MAIN);
dictTypes.add(Dictionary.TYPE_PERSONALIZATION); dictTypes.add(Dictionary.TYPE_PERSONALIZATION);
final DictionaryFacilitator dictionaryFacilitator = new DictionaryFacilitator(); final DictionaryFacilitator dictionaryFacilitator = new DictionaryFacilitator(getContext());
dictionaryFacilitator.resetDictionariesForTesting(getContext(), LOCALE_EN_US, dictTypes, dictionaryFacilitator.resetDictionariesForTesting(getContext(), LOCALE_EN_US, dictTypes,
new HashMap<String, File>(), new HashMap<String, Map<String, String>>()); new HashMap<String, File>(), new HashMap<String, Map<String, String>>());
return dictionaryFacilitator; return dictionaryFacilitator;