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

Side by Side Diff: remoting/test/remote_host_info_fetcher_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/remote_host_info_fetcher.h ('k') | remoting/test/test_chromoting_client.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 "remoting/test/remote_host_info_fetcher.h" 5 #include "remoting/test/remote_host_info_fetcher.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/macros.h"
8 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
9 #include "base/run_loop.h" 10 #include "base/run_loop.h"
10 #include "net/url_request/test_url_fetcher_factory.h" 11 #include "net/url_request/test_url_fetcher_factory.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 13
13 namespace { 14 namespace {
14 const char kTestApplicationId[] = "klasdfjlkasdfjklasjfdkljsadf"; 15 const char kTestApplicationId[] = "klasdfjlkasdfjklasjfdkljsadf";
15 const char kTestApplicationId2[] = "klasdfjlkasdfjklasjfdkljsadf2"; 16 const char kTestApplicationId2[] = "klasdfjlkasdfjklasjfdkljsadf2";
16 const char kAccessTokenValue[] = "test_access_token_value"; 17 const char kAccessTokenValue[] = "test_access_token_value";
17 const char kRemoteHostInfoReadyResponse[] = 18 const char kRemoteHostInfoReadyResponse[] =
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 EXPECT_TRUE(remote_host_info_.IsReadyForConnection()); 294 EXPECT_TRUE(remote_host_info_.IsReadyForConnection());
294 EXPECT_EQ(remote_host_info_.application_id.compare(kTestApplicationId2), 0); 295 EXPECT_EQ(remote_host_info_.application_id.compare(kTestApplicationId2), 0);
295 EXPECT_TRUE(!remote_host_info_.host_id.empty()); 296 EXPECT_TRUE(!remote_host_info_.host_id.empty());
296 EXPECT_TRUE(!remote_host_info_.host_jid.empty()); 297 EXPECT_TRUE(!remote_host_info_.host_jid.empty());
297 EXPECT_TRUE(!remote_host_info_.authorization_code.empty()); 298 EXPECT_TRUE(!remote_host_info_.authorization_code.empty());
298 EXPECT_TRUE(!remote_host_info_.shared_secret.empty()); 299 EXPECT_TRUE(!remote_host_info_.shared_secret.empty());
299 } 300 }
300 301
301 } // namespace test 302 } // namespace test
302 } // namespace remoting 303 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/test/remote_host_info_fetcher.h ('k') | remoting/test/test_chromoting_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698