Lines Matching refs:file_path_

22     file_path_ = temp_dir_.path().Append("test.temp");  in FileUtilsTest()
26 base::FilePath file_path_; member in brillo::FileUtilsTest
33 base::WriteFile(file_path_, contents.c_str(), contents.length())); in WriteFile()
38 EXPECT_TRUE(base::PathExists(file_path_)); in ExpectFileContains()
40 EXPECT_TRUE(base::ReadFileToString(file_path_, &new_contents)); in ExpectFileContains()
47 EXPECT_TRUE(base::GetPosixFilePermissions(file_path_, &actual_permissions)); in ExpectFilePermissions()
64 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F()
71 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F()
78 file_path_ = temp_dir_.path().Append("foo/bar/baz/test.temp"); in TEST_F()
79 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F()
85 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F()
90 EXPECT_TRUE(base::CreateDirectory(file_path_)); in TEST_F()
91 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F()
92 EXPECT_FALSE(base::DirectoryExists(file_path_)); in TEST_F()
98 EXPECT_TRUE(base::CreateSymbolicLink(symlink_target, file_path_)); in TEST_F()
99 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F()
100 EXPECT_FALSE(base::IsLink(file_path_)); in TEST_F()
106 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid() + 1, getegid())); in TEST_F()
112 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid() + 1)); in TEST_F()
117 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid())); in TEST_F()
123 EXPECT_TRUE(TouchFile(file_path_, kPermissions700, geteuid(), getegid())); in TEST_F()
129 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid())); in TEST_F()
130 EXPECT_TRUE(TouchFile(file_path_, kPermissions700, geteuid(), getegid())); in TEST_F()