mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-23 13:26:15 +03:00
Remove invalid tests
This commit is contained in:
parent
027fbd5236
commit
98d7187d55
1 changed files with 10 additions and 10 deletions
|
@ -156,16 +156,16 @@ public class NotesDatabaseTest {
|
|||
}
|
||||
assertTrue(exitFlag);
|
||||
|
||||
// TODO: The second parameter is annotated as @NonNull. This test is invalid. Please remove it
|
||||
categories = db.searchCategories(account.getId(), null);
|
||||
exitFlag = false;
|
||||
for (NavigationAdapter.NavigationItem categoryItem : categories) {
|
||||
Log.i("Test_04_searchCategories_Item_Diary", String.format("%s | %s | %d | %d", categoryItem.id, categoryItem.label, categoryItem.count, categoryItem.icon));
|
||||
if (categoryItem.label.equals("Diary")) {
|
||||
exitFlag = true;
|
||||
}
|
||||
}
|
||||
assertTrue(exitFlag);
|
||||
// // The second parameter is annotated as @NonNull. This test is invalid. Please remove it
|
||||
// categories = db.searchCategories(account.getId(), null);
|
||||
// exitFlag = false;
|
||||
// for (NavigationAdapter.NavigationItem categoryItem : categories) {
|
||||
// Log.i("Test_04_searchCategories_Item_Diary", String.format("%s | %s | %d | %d", categoryItem.id, categoryItem.label, categoryItem.count, categoryItem.icon));
|
||||
// if (categoryItem.label.equals("Diary")) {
|
||||
// exitFlag = true;
|
||||
// }
|
||||
// }
|
||||
// assertTrue(exitFlag);
|
||||
|
||||
categories = db.searchCategories(account.getId(), "Mike Chester Wang");
|
||||
exitFlag = false;
|
||||
|
|
Loading…
Reference in a new issue