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 "jingle/notifier/communicator/login_settings.h" | 5 #include "jingle/notifier/communicator/login_settings.h" |
6 | 6 |
7 #include <cstddef> | 7 #include <cstddef> |
8 | 8 |
9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 #include "webrtc/libjingle/xmpp/xmppclientsettings.h" | 10 #include "third_party/libjingle_xmpp/xmpp/xmppclientsettings.h" |
11 | 11 |
12 namespace notifier { | 12 namespace notifier { |
13 | 13 |
14 namespace { | 14 namespace { |
15 | 15 |
16 const char kAuthMechanism[] = "auth_mechanism"; | 16 const char kAuthMechanism[] = "auth_mechanism"; |
17 | 17 |
18 class LoginSettingsTest : public ::testing::Test { | 18 class LoginSettingsTest : public ::testing::Test { |
19 protected: | 19 protected: |
20 LoginSettingsTest() { | 20 LoginSettingsTest() { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 ASSERT_EQ(servers_.size(), servers.size()); | 68 ASSERT_EQ(servers_.size(), servers.size()); |
69 for (size_t i = 0; i < servers.size(); ++i) { | 69 for (size_t i = 0; i < servers.size(); ++i) { |
70 EXPECT_TRUE(servers[i].Equals(servers_[i])); | 70 EXPECT_TRUE(servers[i].Equals(servers_[i])); |
71 } | 71 } |
72 } | 72 } |
73 } | 73 } |
74 | 74 |
75 } // namespace | 75 } // namespace |
76 | 76 |
77 } // namespace notifier | 77 } // namespace notifier |
OLD | NEW |