use of org.omegat.gui.dictionaries.IDictionaries in project omegat by omegat-org.
the class DictionariesManagerTest method setUp.
@Before
public final void setUp() throws Exception {
manager = new DictionariesManager(new IDictionaries() {
@Override
public void refresh() {
}
@Override
public void addDictionaryFactory(IDictionaryFactory factory) {
}
@Override
public void removeDictionaryFactory(IDictionaryFactory factory) {
}
}) {
@Override
protected boolean doFuzzyMatching() {
return true;
}
};
manager.setIndexLanguage(new Language(Locale.ENGLISH));
manager.setTokenizer(new DefaultTokenizer());
PrintWriter fw = new PrintWriter(IGNORE_FILE, "UTF-8");
fw.println(IGNORE_WORD);
fw.close();
assertFalse(fw.checkError());
}
Aggregations