Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e792f61 authored by Dan Zivkovic's avatar Dan Zivkovic
Browse files

Minor unit test fixes.

Change-Id: I800bb33a10f31d5b934b00768bc8fe4776e36f90
parent fa296fa6
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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
+0 −2
Original line number Diff line number Diff line
@@ -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);