OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/message_center/notification_list.h" | 5 #include "ui/message_center/notification_list.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/i18n/time_formatting.h" | 8 #include "base/i18n/time_formatting.h" |
9 #include "base/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
13 #include "ui/message_center/message_center_style.h" | 13 #include "ui/message_center/message_center_style.h" |
14 #include "ui/message_center/notification_types.h" | 14 #include "ui/message_center/notification_types.h" |
15 | 15 |
16 namespace message_center { | 16 namespace message_center { |
17 namespace test { | 17 namespace test { |
18 | 18 |
19 class NotificationListTest : public testing::Test { | 19 class NotificationListTest : public testing::Test { |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 notification_list()->SetQuietMode(false); | 591 notification_list()->SetQuietMode(false); |
592 AddNotification(NULL); | 592 AddNotification(NULL); |
593 EXPECT_EQ(4u, notification_list()->NotificationCount()); | 593 EXPECT_EQ(4u, notification_list()->NotificationCount()); |
594 EXPECT_EQ(1u, GetPopupCounts()); | 594 EXPECT_EQ(1u, GetPopupCounts()); |
595 | 595 |
596 // TODO(mukai): Add test of quiet mode with expiration. | 596 // TODO(mukai): Add test of quiet mode with expiration. |
597 } | 597 } |
598 | 598 |
599 } // namespace test | 599 } // namespace test |
600 } // namespace message_center | 600 } // namespace message_center |
OLD | NEW |