MockNotificationView::MockNotificationView(MessageCenterController* controller,
const Notification& notification,
Test* test)
- : NotificationView(controller, notification, true),
+ : NotificationView(controller, notification),
test_(test) {
}
virtual bool HasClickedListener(const std::string& notification_id) OVERRIDE;
virtual void ClickOnNotificationButton(const std::string& notification_id,
int button_index) OVERRIDE;
- virtual void ExpandNotification(const std::string& notification_id) OVERRIDE;
// Overridden from MockNotificationView::Test
virtual void RegisterCall(CallType type) OVERRIDE;
NOTREACHED();
}
-void MessageCenterViewTest::ExpandNotification(
- const std::string& notification_id) {
- // For this test, this method should not be invoked.
- NOTREACHED();
-}
-
void MessageCenterViewTest::RegisterCall(CallType type) {
callCounts_[type] += 1;
}