am 3e792f61: Minor unit test fixes.
* commit '3e792f61ad702b77cc3c4d6d2887e7475f4ffde6': Minor unit test fixes.main
commit
e775215510
|
@ -44,10 +44,6 @@ public class BinaryDictionaryTests extends AndroidTestCase {
|
|||
private static final String TEST_LOCALE = "test";
|
||||
private static final String DICTIONARY_ID = "TestBinaryDictionary";
|
||||
|
||||
private static boolean supportsNgram(final int formatVersion) {
|
||||
return formatVersion >= FormatSpec.VERSION403;
|
||||
}
|
||||
|
||||
private HashSet<File> mDictFilesToBeDeleted = new HashSet<>();
|
||||
|
||||
@Override
|
||||
|
|
|
@ -152,8 +152,6 @@ public class InputTestsBase extends ServiceTestCase<LatinIMEForTests> {
|
|||
super(LatinIMEForTests.class);
|
||||
}
|
||||
|
||||
// TODO: Isn't there a way to make this generic somehow? We can take a <T> and return a <T>
|
||||
// but we'd have to dispatch types on editor.put...() functions
|
||||
protected boolean setBooleanPreference(final String key, final boolean value,
|
||||
final boolean defaultValue) {
|
||||
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mLatinIME);
|
||||
|
|
Loading…
Reference in New Issue