Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: remoting/host/host_status_logger_unittest.cc

Issue 2443903004: Add xmllite and xmpp sources to third_party/ (Closed)
Patch Set: Explicitly use webrtc_overrides/webrtc/base/logging.h Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "remoting/host/host_status_logger.h" 5 #include "remoting/host/host_status_logger.h"
6 6
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "remoting/host/fake_host_status_monitor.h" 9 #include "remoting/host/fake_host_status_monitor.h"
10 #include "remoting/signaling/mock_signal_strategy.h" 10 #include "remoting/signaling/mock_signal_strategy.h"
11 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
12 #include "testing/gmock_mutant.h" 12 #include "testing/gmock_mutant.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" 14 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
15 15
16 using buzz::XmlElement; 16 using buzz::XmlElement;
17 using buzz::QName; 17 using buzz::QName;
18 using testing::_; 18 using testing::_;
19 using testing::DeleteArg; 19 using testing::DeleteArg;
20 using testing::InSequence; 20 using testing::InSequence;
21 using testing::Return; 21 using testing::Return;
22 22
23 namespace remoting { 23 namespace remoting {
24 24
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 route2.type = protocol::TransportRoute::STUN; 251 route2.type = protocol::TransportRoute::STUN;
252 host_status_logger_->OnClientRouteChange(kClientJid2, "video", route2); 252 host_status_logger_->OnClientRouteChange(kClientJid2, "video", route2);
253 host_status_logger_->OnClientDisconnected(kClientJid1); 253 host_status_logger_->OnClientDisconnected(kClientJid1);
254 host_status_logger_->OnClientAuthenticated(kClientJid2); 254 host_status_logger_->OnClientAuthenticated(kClientJid2);
255 host_status_logger_->OnClientConnected(kClientJid2); 255 host_status_logger_->OnClientConnected(kClientJid2);
256 host_status_logger_->SetSignalingStateForTest(SignalStrategy::DISCONNECTED); 256 host_status_logger_->SetSignalingStateForTest(SignalStrategy::DISCONNECTED);
257 run_loop.Run(); 257 run_loop.Run();
258 } 258 }
259 259
260 } // namespace remoting 260 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/host_change_notification_listener_unittest.cc ('k') | remoting/host/pam_authorization_factory_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698