| OLD | NEW |
| 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 "base/file_util.h" | 5 #include "base/files/file_util.h" |
| 6 #include "base/files/scoped_temp_dir.h" | 6 #include "base/files/scoped_temp_dir.h" |
| 7 #include "base/memory/ref_counted.h" | 7 #include "base/memory/ref_counted.h" |
| 8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
| 9 #include "remoting/host/json_host_config.h" | 9 #include "remoting/host/json_host_config.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| 11 | 11 |
| 12 namespace remoting { | 12 namespace remoting { |
| 13 | 13 |
| 14 namespace { | 14 namespace { |
| 15 const char* kTestConfig = | 15 const char* kTestConfig = |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 EXPECT_EQ(new_auth_token_value, value); | 85 EXPECT_EQ(new_auth_token_value, value); |
| 86 EXPECT_TRUE(reader.GetString(kHostIdConfigPath, &value)); | 86 EXPECT_TRUE(reader.GetString(kHostIdConfigPath, &value)); |
| 87 EXPECT_EQ("TEST_HOST_ID", value); | 87 EXPECT_EQ("TEST_HOST_ID", value); |
| 88 EXPECT_TRUE(reader.GetString(kHostNameConfigPath, &value)); | 88 EXPECT_TRUE(reader.GetString(kHostNameConfigPath, &value)); |
| 89 EXPECT_EQ("TEST_MACHINE_NAME", value); | 89 EXPECT_EQ("TEST_MACHINE_NAME", value); |
| 90 EXPECT_TRUE(reader.GetString(kPrivateKeyConfigPath, &value)); | 90 EXPECT_TRUE(reader.GetString(kPrivateKeyConfigPath, &value)); |
| 91 EXPECT_EQ("TEST_PRIVATE_KEY", value); | 91 EXPECT_EQ("TEST_PRIVATE_KEY", value); |
| 92 } | 92 } |
| 93 | 93 |
| 94 } | 94 } |
| OLD | NEW |