Searched refs:getNotificationsToWrite (Results 1 – 6 of 6) sorted by relevance
121 assertThat(history.getNotificationsToWrite().size()).isEqualTo(2); in testAddNotificationToWrite()123 assertThat(history.getNotificationsToWrite().get(1)).isSameInstanceAs(n); in testAddNotificationToWrite()145 assertThat(history.getNotificationsToWrite().size()).isEqualTo(5); in testAddNotificationsToWrite()243 assertThat(history.getNotificationsToWrite().size()).isEqualTo(10); in testRemoveNotificationsFromWrite()252 assertThat(history.getNotificationsToWrite()) in testRemoveNotificationsFromWrite()280 assertThat(history.getNotificationsToWrite().size()).isEqualTo(10); in testRemoveNotificationFromWrite()289 assertThat(history.getNotificationsToWrite()) in testRemoveNotificationFromWrite()319 assertThat(history.getNotificationsToWrite().size()).isEqualTo(11); in testRemoveConversationNotificationFromWrite()327 assertThat(history.getNotificationsToWrite()) in testRemoveConversationNotificationFromWrite()358 assertThat(history.getNotificationsToWrite().size()).isEqualTo(11); in testRemoveChannelFromWrite()[all …]
103 assertThat(actualHistory.getNotificationsToWrite()) in testReadWriteNotifications()129 assertThat(actualHistory.getNotificationsToWrite()) in testReadWriteNotifications_stringFieldsPersistedEvenIfNoPool()170 assertThat(actualHistory.getNotificationsToWrite()) in testReadNotificationsWithPkgFilter()212 assertThat(actualHistory.getNotificationsToWrite()) in testReadNotificationsWithNumberFilter()264 assertThat(actualHistory.getNotificationsToWrite()) in testReadNotificationsWithNumberFilter_preExistingNotifs()313 assertThat(actualHistory.getNotificationsToWrite()) in testReadMergeIntoExistingHistory()
499 when(nhSystem.getNotificationsToWrite()).thenReturn(nhSystemList); in testReadNotificationHistory()507 when(nhAll.getNotificationsToWrite()).thenReturn(nhAllList); in testReadNotificationHistory()513 assertThat(nh.getNotificationsToWrite()).contains(hnSystem); in testReadNotificationHistory()514 assertThat(nh.getNotificationsToWrite()).contains(hnAll); in testReadNotificationHistory()525 when(nhSystem.getNotificationsToWrite()).thenReturn(nhSystemList); in testReadNotificationHistory_historyDisabled()536 assertThat(nh.getNotificationsToWrite()).isEmpty(); in testReadNotificationHistory_historyDisabled()543 assertThat(nh.getNotificationsToWrite()).isEmpty(); in testReadFilteredNotificationHistory_userLocked()555 assertThat(nh.getNotificationsToWrite()).isEmpty(); in testReadFilteredNotificationHistory_historyDisabled()
200 assertThat(mDataBase.mBuffer.getNotificationsToWrite()).contains(n); in testAddNotification()205 assertThat(mDataBase.mBuffer.getNotificationsToWrite()).contains(n2); in testAddNotification()219 assertThat(mDataBase.mBuffer.getNotificationsToWrite().get(0)).isEqualTo(n2); in testAddNotification_newestFirst()220 assertThat(mDataBase.mBuffer.getNotificationsToWrite().get(1)).isEqualTo(n); in testAddNotification_newestFirst()244 assertThat(nh.getNotificationsToWrite()).contains(hn); in testReadNotificationHistory_readsBuffer()405 when(nh.getNotificationsToWrite()).thenReturn(new ArrayList<>()); in testWriteBufferRunnable()
345 for (HistoricalNotification hn : notificationHistory.getNotificationsToWrite()) { in addNotificationsToWrite()438 public @NonNull List<HistoricalNotification> getNotificationsToWrite() { in getNotificationsToWrite() method in NotificationHistory
334 List<HistoricalNotification> notificationsToWrite = notifications.getNotificationsToWrite(); in write()