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

Side by Side Diff: remoting/test/test_chromoting_client_unittest.cc

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 4 years, 12 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/test/test_chromoting_client.h ('k') | remoting/test/test_video_renderer.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <string> 5 #include <string>
6 6
7 #include "base/macros.h"
7 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
8 #include "remoting/protocol/fake_connection_to_host.h" 9 #include "remoting/protocol/fake_connection_to_host.h"
9 #include "remoting/signaling/fake_signal_strategy.h" 10 #include "remoting/signaling/fake_signal_strategy.h"
10 #include "remoting/test/connection_setup_info.h" 11 #include "remoting/test/connection_setup_info.h"
11 #include "remoting/test/test_chromoting_client.h" 12 #include "remoting/test/test_chromoting_client.h"
12 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
13 14
14 namespace remoting { 15 namespace remoting {
15 namespace test { 16 namespace test {
16 17
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // Close the connection via the TestChromotingClient and verify the error 195 // Close the connection via the TestChromotingClient and verify the error
195 // state is persisted. 196 // state is persisted.
196 test_chromoting_client_->EndConnection(); 197 test_chromoting_client_->EndConnection();
197 EXPECT_EQ(protocol::ConnectionToHost::State::FAILED, connection_state_); 198 EXPECT_EQ(protocol::ConnectionToHost::State::FAILED, connection_state_);
198 EXPECT_EQ(protocol::ErrorCode::UNKNOWN_ERROR, error_code_); 199 EXPECT_EQ(protocol::ErrorCode::UNKNOWN_ERROR, error_code_);
199 EXPECT_FALSE(is_connected_to_host_); 200 EXPECT_FALSE(is_connected_to_host_);
200 } 201 }
201 202
202 } // namespace test 203 } // namespace test
203 } // namespace remoting 204 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/test/test_chromoting_client.h ('k') | remoting/test/test_video_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698