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

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

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/host/host_config.h ('k') | remoting/host/host_details.cc » ('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 (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 "remoting/host/host_config.h" 5 #include "remoting/host/host_config.h"
6 6
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
10 #include "base/values.h" 11 #include "base/values.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 13
13 namespace remoting { 14 namespace remoting {
14 15
15 namespace { 16 namespace {
16 17
17 const char* kTestConfig = 18 const char* kTestConfig =
18 "{\n" 19 "{\n"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 EXPECT_EQ(new_refresh_token_value, value); 93 EXPECT_EQ(new_refresh_token_value, value);
93 EXPECT_TRUE(reader->GetString(kHostIdConfigPath, &value)); 94 EXPECT_TRUE(reader->GetString(kHostIdConfigPath, &value));
94 EXPECT_EQ("TEST_HOST_ID", value); 95 EXPECT_EQ("TEST_HOST_ID", value);
95 EXPECT_TRUE(reader->GetString(kHostNameConfigPath, &value)); 96 EXPECT_TRUE(reader->GetString(kHostNameConfigPath, &value));
96 EXPECT_EQ("TEST_MACHINE_NAME", value); 97 EXPECT_EQ("TEST_MACHINE_NAME", value);
97 EXPECT_TRUE(reader->GetString(kPrivateKeyConfigPath, &value)); 98 EXPECT_TRUE(reader->GetString(kPrivateKeyConfigPath, &value));
98 EXPECT_EQ("TEST_PRIVATE_KEY", value); 99 EXPECT_EQ("TEST_PRIVATE_KEY", value);
99 } 100 }
100 101
101 } // namespace remoting 102 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/host_config.h ('k') | remoting/host/host_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698