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

Unified Diff: ui/message_center/views/notification_view_md.h

Issue 2966343002: Port NotificationViewMD unit tests from NotificationViewTest. (Closed)
Patch Set: Added Slide tests. Created 3 years, 5 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/notification_view_md.h
diff --git a/ui/message_center/views/notification_view_md.h b/ui/message_center/views/notification_view_md.h
index 890165a9c8968acf1eb049b8f64d18071b80ab51..547d112dc5650fcc9f74de7d045a0e03a25cc83e 100644
--- a/ui/message_center/views/notification_view_md.h
+++ b/ui/message_center/views/notification_view_md.h
@@ -64,6 +64,13 @@ class MESSAGE_CENTER_EXPORT NotificationViewMD
views::View* TargetForRect(views::View* root, const gfx::Rect& rect) override;
private:
+ FRIEND_TEST_ALL_PREFIXES(NotificationViewMDTest, CreateOrUpdateTest);
+ FRIEND_TEST_ALL_PREFIXES(NotificationViewMDTest, TestIconSizing);
+ FRIEND_TEST_ALL_PREFIXES(NotificationViewMDTest, UpdateButtonsStateTest);
+ FRIEND_TEST_ALL_PREFIXES(NotificationViewMDTest, UpdateButtonCountTest);
+
+ friend class NotificationViewMDTest;
+
void CreateOrUpdateViews(const Notification& notification);
void CreateOrUpdateContextTitleView(const Notification& notification);

Powered by Google App Engine
This is Rietveld 408576698