Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Unified Diff: ui/message_center/views/message_list_view_unittest.cc

Issue 2685283002: Add UpdateNotificationSize to MessageCenterController. (Closed)
Patch Set: whitespace Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/message_center/views/message_list_view_unittest.cc
diff --git a/ui/message_center/views/message_list_view_unittest.cc b/ui/message_center/views/message_list_view_unittest.cc
index a4dc8b12bd9bcfb8490b55e824ecd25f4d5b0544..3015cc1776b136cfc2c05c97639d8132d8ed878c 100644
--- a/ui/message_center/views/message_list_view_unittest.cc
+++ b/ui/message_center/views/message_list_view_unittest.cc
@@ -152,6 +152,7 @@ class MessageListViewTest : public views::ViewsTestBase,
void ClickOnNotificationButton(const std::string& notification_id,
int button_index) override {}
void ClickOnSettingsButton(const std::string& notification_id) override {}
+ void ShouldUpdateNotification(const std::string& notification_id) override;
// Widget to host a MessageListView.
std::unique_ptr<views::Widget> widget_;
@@ -161,6 +162,12 @@ class MessageListViewTest : public views::ViewsTestBase,
DISALLOW_COPY_AND_ASSIGN(MessageListViewTest);
};
+void MessageListViewTest::ShouldUpdateNotification(
+ const std::string& notification_id) {
+ // For this test, this method should not be invoked.
+ NOTREACHED();
+}
+
/* Unit tests *****************************************************************/
TEST_F(MessageListViewTest, AddNotification) {

Powered by Google App Engine
This is Rietveld 408576698