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

Unified Diff: remoting/host/host_config_unittest.cc

Issue 2317123003: misc files R-U: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Just rebased Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/linux/audio_pipe_reader_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_config_unittest.cc
diff --git a/remoting/host/host_config_unittest.cc b/remoting/host/host_config_unittest.cc
index c082491728917402b01a79938383a6e6ec691486..e8f8a120887f36d6e0ea6f355d3349f2883af394 100644
--- a/remoting/host/host_config_unittest.cc
+++ b/remoting/host/host_config_unittest.cc
@@ -44,13 +44,13 @@ class HostConfigTest : public testing::Test {
TEST_F(HostConfigTest, InvalidFile) {
ASSERT_TRUE(test_dir_.CreateUniqueTempDir());
base::FilePath non_existent_file =
- test_dir_.path().AppendASCII("non_existent.json");
+ test_dir_.GetPath().AppendASCII("non_existent.json");
EXPECT_FALSE(HostConfigFromJsonFile(non_existent_file));
}
TEST_F(HostConfigTest, Read) {
ASSERT_TRUE(test_dir_.CreateUniqueTempDir());
- base::FilePath test_file = test_dir_.path().AppendASCII("read.json");
+ base::FilePath test_file = test_dir_.GetPath().AppendASCII("read.json");
WriteTestFile(test_file);
std::unique_ptr<base::DictionaryValue> target(
HostConfigFromJsonFile(test_file));
@@ -74,7 +74,7 @@ TEST_F(HostConfigTest, Read) {
TEST_F(HostConfigTest, Write) {
ASSERT_TRUE(test_dir_.CreateUniqueTempDir());
- base::FilePath test_file = test_dir_.path().AppendASCII("write.json");
+ base::FilePath test_file = test_dir_.GetPath().AppendASCII("write.json");
WriteTestFile(test_file);
std::unique_ptr<base::DictionaryValue> target(
HostConfigFromJsonFile(test_file));
« no previous file with comments | « no previous file | remoting/host/linux/audio_pipe_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698