#include "ui/message_center/notification_list.h"
#include <stddef.h>
#include <memory>
#include <utility>
#include "base/i18n/time_formatting.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/message_center/fake_message_center.h"
#include "ui/message_center/notification_blocker.h"
#include "ui/message_center/public/cpp/message_center_constants.h"
#include "ui/message_center/public/cpp/notification_types.h"
#include "ui/message_center/public/cpp/notifier_id.h"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "ash/constants/notifier_catalogs.h"
#endif
namespace message_center {
NotificationState;
class NopNotificationBlocker : public NotificationBlocker { … };
class NotificationListTest : public testing::Test { … };
bool IsInNotifications(const NotificationList::Notifications& notifications,
const std::string& id) { … }
const char16_t NotificationListTest::kDisplaySource[] = …;
const char NotificationListTest::kExtensionId[] = …;
TEST_F(NotificationListTest, Basic) { … }
TEST_F(NotificationListTest, MessageCenterVisible) { … }
TEST_F(NotificationListTest, UpdateNotification) { … }
TEST_F(NotificationListTest, UpdateNotificationWithRenotifyAndQuietMode) { … }
TEST_F(NotificationListTest, ResetPopupInQuietMode) { … }
TEST_F(NotificationListTest, GetNotificationsByNotifierId) { … }
TEST_F(NotificationListTest, OldPopupShouldNotBeHidden) { … }
TEST_F(NotificationListTest, Priority) { … }
TEST_F(NotificationListTest, WithoutOneBlocker) { … }
TEST_F(NotificationListTest, GetNotificationsByAppId) { … }
TEST_F(NotificationListTest, GetNotificationsByOriginUrl) { … }
TEST_F(NotificationListTest, HasPopupsWithPriority) { … }
TEST_F(NotificationListTest, AllPopupsDismissedWhenMarkedAsShown) { … }
TEST_F(NotificationListTest, GetNotifications) { … }
TEST_F(NotificationListTest, UpdateWithoutMessageCenterView) { … }
TEST_F(NotificationListTest, Renotify) { … }
TEST_F(NotificationListTest, PriorityAndRenotify) { … }
TEST_F(NotificationListTest, NotificationOrderAndPriority) { … }
TEST_F(NotificationListTest, MarkSinglePopupAsShown) { … }
TEST_F(NotificationListTest, UpdateAfterMarkedAsShown) { … }
TEST_F(NotificationListTest, QuietMode) { … }
TEST_F(NotificationListTest, TestHasNotificationOfType) { … }
}