OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 "ash/system/network/sms_observer.h" | 5 #include "ash/system/network/sms_observer.h" |
6 | 6 |
7 #include "ash/common/shelf/shelf_widget.h" | |
8 #include "ash/common/shelf/wm_shelf.h" | |
9 #include "ash/public/interfaces/vpn_list.mojom.h" | 7 #include "ash/public/interfaces/vpn_list.mojom.h" |
| 8 #include "ash/shelf/shelf_widget.h" |
| 9 #include "ash/shelf/wm_shelf.h" |
10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
11 #include "ash/test/ash_test_base.h" | 11 #include "ash/test/ash_test_base.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 #include "ui/base/l10n/l10n_util.h" | 15 #include "ui/base/l10n/l10n_util.h" |
16 #include "ui/message_center/message_center.h" | 16 #include "ui/message_center/message_center.h" |
17 #include "ui/message_center/notification.h" | 17 #include "ui/message_center/notification.h" |
18 #include "ui/message_center/notification_list.h" | 18 #include "ui/message_center/notification_list.h" |
19 | 19 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 } else if (iter->id().find("chrome://network/sms2") != std::string::npos) { | 127 } else if (iter->id().find("chrome://network/sms2") != std::string::npos) { |
128 EXPECT_EQ(base::ASCIIToUTF16("000-000-0000"), iter->title()); | 128 EXPECT_EQ(base::ASCIIToUTF16("000-000-0000"), iter->title()); |
129 EXPECT_EQ(base::ASCIIToUTF16("second message"), iter->message()); | 129 EXPECT_EQ(base::ASCIIToUTF16("second message"), iter->message()); |
130 } else { | 130 } else { |
131 ASSERT_TRUE(false); | 131 ASSERT_TRUE(false); |
132 } | 132 } |
133 } | 133 } |
134 } | 134 } |
135 | 135 |
136 } // namespace ash | 136 } // namespace ash |
OLD | NEW |