mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-26 23:27:55 +03:00
Merge branch 'master' of https://github.com/Isaac-Graham/nextcloud-notes
This commit is contained in:
commit
6889989c3e
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