Fix: PersonalizationDictionaryTests.
Change-Id: I2196c53d8e3ac3ab4c6c2f8e9320489b3a8bacd2main
parent
9eec97d5b0
commit
addc593349
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue