Searched refs:sent_notifications (Results 1 – 5 of 5) sorted by relevance
94 EXPECT_TRUE(fake_push_client_->sent_notifications().empty()); in TEST_F()96 ASSERT_EQ(1u, fake_push_client_->sent_notifications().size()); in TEST_F()103 fake_push_client_->sent_notifications()[0].data); in TEST_F()214 ASSERT_EQ(1u, fake_push_client_->sent_notifications().size()); in TEST_F()220 fake_push_client_->sent_notifications()[0].data, in TEST_F()235 ASSERT_EQ(2u, fake_push_client_->sent_notifications().size()); in TEST_F()241 fake_push_client_->sent_notifications()[1].data, in TEST_F()
107 const std::vector<notifier::Notification>& sent_notifications = in ReflectSentNotifications() local108 delegate_.GetPushClient()->sent_notifications(); in ReflectSentNotifications()110 i < sent_notifications.size(); ++i) { in ReflectSentNotifications()111 delegate_.GetInvalidator()->OnIncomingNotification(sent_notifications[i]); in ReflectSentNotifications()113 next_sent_notification_to_reflect_ = sent_notifications.size(); in ReflectSentNotifications()
108 EXPECT_TRUE(fake_push_client_->sent_notifications().empty()); in TEST_F()110 ASSERT_EQ(1u, fake_push_client_->sent_notifications().size()); in TEST_F()112 fake_push_client_->sent_notifications()[0].Equals(notification)); in TEST_F()
46 const std::vector<Notification>& sent_notifications() const;
71 const std::vector<Notification>& FakePushClient::sent_notifications() const { in sent_notifications() function in notifier::FakePushClient