Fix: PersonalizationDictionaryTests.

Change-Id: I2196c53d8e3ac3ab4c6c2f8e9320489b3a8bacd2
This commit is contained in:
Keisuke Kuroyanagi 2014-08-29 21:40:59 +09:00
parent 9eec97d5b0
commit addc593349

View File

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