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

Commit 4a7254e1 authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi Committed by Android Git Automerger
Browse files

am 230b343e: Merge "Quit using try catch in addAndWriteRandomWords."

* commit '230b343e':
  Quit using try catch in addAndWriteRandomWords.
parents 61f90fd8 230b343e
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -213,14 +213,10 @@ public class UserHistoryDictionaryTests extends AndroidTestCase {

        final int numberOfWords = 1000;
        final Random random = new Random(123456);

        try {
        clearHistory(dict);
        addAndWriteRandomWords(dict, numberOfWords, random, true /* checksContents */);
        } finally {
        checkExistenceAndRemoveDictFile(dict, dictFile);
    }
    }

    public void testStressTestForSwitchingLanguagesAndAddingWords() {
        final int numberOfLanguages = 2;