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

Side by Side Diff: remoting/client/client_status_logger_unittest.cc

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
« no previous file with comments | « remoting/client/chromoting_client.h ('k') | remoting/client/frame_consumer_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/client/client_status_logger.h" 5 #include "remoting/client/client_status_logger.h"
6 6
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "base/message_loop/message_loop_proxy.h" 8 #include "base/message_loop/message_loop_proxy.h"
9 #include "remoting/client/chromoting_stats.h" 9 #include "remoting/client/chromoting_stats.h"
10 #include "remoting/signaling/mock_signal_strategy.h" 10 #include "remoting/signaling/mock_signal_strategy.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 return entry->Attr(QName(std::string(), "event-name")) == 59 return entry->Attr(QName(std::string(), "event-name")) ==
60 "connection-statistics"; 60 "connection-statistics";
61 } 61 }
62 62
63 } // namespace 63 } // namespace
64 64
65 class ClientStatusLoggerTest : public testing::Test { 65 class ClientStatusLoggerTest : public testing::Test {
66 public: 66 public:
67 ClientStatusLoggerTest() {} 67 ClientStatusLoggerTest() {}
68 virtual void SetUp() OVERRIDE { 68 virtual void SetUp() override {
69 EXPECT_CALL(signal_strategy_, AddListener(_)); 69 EXPECT_CALL(signal_strategy_, AddListener(_));
70 EXPECT_CALL(signal_strategy_, RemoveListener(_)); 70 EXPECT_CALL(signal_strategy_, RemoveListener(_));
71 message_loop_proxy_ = base::MessageLoopProxy::current(); 71 message_loop_proxy_ = base::MessageLoopProxy::current();
72 client_status_logger_.reset( 72 client_status_logger_.reset(
73 new ClientStatusLogger(ServerLogEntry::ME2ME, 73 new ClientStatusLogger(ServerLogEntry::ME2ME,
74 &signal_strategy_, 74 &signal_strategy_,
75 kTestBotJid)); 75 kTestBotJid));
76 } 76 }
77 77
78 protected: 78 protected:
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 ChromotingStats stats; 147 ChromotingStats stats;
148 client_status_logger_->LogStatistics(&stats); 148 client_status_logger_->LogStatistics(&stats);
149 149
150 client_status_logger_->SetSignalingStateForTest(SignalStrategy::CONNECTED); 150 client_status_logger_->SetSignalingStateForTest(SignalStrategy::CONNECTED);
151 client_status_logger_->SetSignalingStateForTest(SignalStrategy::DISCONNECTED); 151 client_status_logger_->SetSignalingStateForTest(SignalStrategy::DISCONNECTED);
152 message_loop_.Run(); 152 message_loop_.Run();
153 } 153 }
154 154
155 } // namespace remoting 155 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/chromoting_client.h ('k') | remoting/client/frame_consumer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698