diff --git a/app/src/test/java/it/niedermann/owncloud/notes/android/fragment/SearchableBaseNoteFragmentTest.java b/app/src/test/java/it/niedermann/owncloud/notes/android/fragment/SearchableBaseNoteFragmentTest.java index 397ffc69..f63923b6 100644 --- a/app/src/test/java/it/niedermann/owncloud/notes/android/fragment/SearchableBaseNoteFragmentTest.java +++ b/app/src/test/java/it/niedermann/owncloud/notes/android/fragment/SearchableBaseNoteFragmentTest.java @@ -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())); } } } \ No newline at end of file