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/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" | 8 #include "ash/shell.h" |
11 #include "ash/test/ash_test_base.h" | 9 #include "ash/test/ash_test_base.h" |
12 #include "base/macros.h" | 10 #include "base/macros.h" |
13 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
15 #include "ui/base/l10n/l10n_util.h" | 13 #include "ui/base/l10n/l10n_util.h" |
16 #include "ui/message_center/message_center.h" | 14 #include "ui/message_center/message_center.h" |
17 #include "ui/message_center/notification.h" | 15 #include "ui/message_center/notification.h" |
18 #include "ui/message_center/notification_list.h" | 16 #include "ui/message_center/notification_list.h" |
19 | 17 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 } else if (iter->id().find("chrome://network/sms2") != std::string::npos) { | 123 } else if (iter->id().find("chrome://network/sms2") != std::string::npos) { |
126 EXPECT_EQ(base::ASCIIToUTF16("000-000-0000"), iter->title()); | 124 EXPECT_EQ(base::ASCIIToUTF16("000-000-0000"), iter->title()); |
127 EXPECT_EQ(base::ASCIIToUTF16("second message"), iter->message()); | 125 EXPECT_EQ(base::ASCIIToUTF16("second message"), iter->message()); |
128 } else { | 126 } else { |
129 ASSERT_TRUE(false); | 127 ASSERT_TRUE(false); |
130 } | 128 } |
131 } | 129 } |
132 } | 130 } |
133 | 131 |
134 } // namespace ash | 132 } // namespace ash |
OLD | NEW |