Searched refs:deleteWidgetById (Results 1 – 4 of 4) sorted by relevance
358 whenever(communalWidgetDao.deleteWidgetById(eq(id))).thenReturn(true) in deleteWidget_deleteFromDbTrue_alsoDeleteFromHost()362 verify(communalWidgetDao).deleteWidgetById(id) in deleteWidget_deleteFromDbTrue_alsoDeleteFromHost()373 whenever(communalWidgetDao.deleteWidgetById(eq(id))).thenReturn(false) in deleteWidget_deleteFromDbFalse_doesNotDeleteFromHost()377 verify(communalWidgetDao).deleteWidgetById(id) in deleteWidget_deleteFromDbFalse_doesNotDeleteFromHost()
89 assertThat(communalWidgetDao.deleteWidgetById(widgetId = 123)).isFalse() in <lambda>()136 communalWidgetDao.deleteWidgetById(communalWidgetItemEntry1.widgetId) in <lambda>()
153 fun deleteWidgetById(widgetId: Int): Boolean { in deleteWidgetById() method
199 if (communalWidgetDao.deleteWidgetById(widgetId)) { in deleteWidget()