mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-27 09:46:50 +03:00
Merge branch '814-normalize-database' of https://github.com/stefan-niedermann/nextcloud-notes into 603-sorting-method
This commit is contained in:
commit
17687b2511
1 changed files with 3 additions and 7 deletions
|
@ -30,18 +30,14 @@ public class SearchableBaseNoteFragmentTest {
|
|||
System.out.println("Fixed Version");
|
||||
System.out.println("Total Time: " + (endTime - startTime) + " ms");
|
||||
System.out.println("Total Times: " + num);
|
||||
System.out.println("String Size: " + (sb.length() / 1024) + " K");
|
||||
System.out.println("String Size: " + (sb.length() / 1024.0) + " K");
|
||||
assertEquals((int) Math.pow(2, count), num);
|
||||
System.out.println();
|
||||
|
||||
if (endTime - startTime > 10) {
|
||||
fail("The algorithm spends too much time.");
|
||||
}
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
fail(Arrays.toString(e.getStackTrace()));
|
||||
Log.e("Test Count Occurrences Fixed", Arrays.toString(e.getStackTrace()));
|
||||
System.out.println("Test Count Occurrences Fixed" + Arrays.toString(e.getStackTrace()));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -63,7 +59,7 @@ public class SearchableBaseNoteFragmentTest {
|
|||
|
||||
} catch (Exception e) {
|
||||
fail(Arrays.toString(e.getStackTrace()));
|
||||
Log.e("Test Null Or Empty Input", Arrays.toString(e.getStackTrace()));
|
||||
System.out.println("Test Null Or Empty Input" + Arrays.toString(e.getStackTrace()));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue