• Home
  • Raw
  • Download

Lines Matching refs:file_path_

40     file_path_ = temp_dir_.GetPath().Append("test.temp");  in FileUtilsTest()
44 base::FilePath file_path_; member in brillo::FileUtilsTest
51 base::WriteFile(file_path_, contents.c_str(), contents.length())); in WriteFile()
56 EXPECT_TRUE(base::PathExists(file_path_)); in ExpectFileContains()
58 EXPECT_TRUE(base::ReadFileToString(file_path_, &new_contents)); in ExpectFileContains()
65 EXPECT_TRUE(base::GetPosixFilePermissions(file_path_, &actual_permissions)); in ExpectFilePermissions()
76 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F()
83 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F()
90 file_path_ = temp_dir_.GetPath().Append("foo/bar/baz/test.temp"); in TEST_F()
91 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F()
97 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F()
102 EXPECT_TRUE(base::CreateDirectory(file_path_)); in TEST_F()
103 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F()
104 EXPECT_FALSE(base::DirectoryExists(file_path_)); in TEST_F()
110 EXPECT_TRUE(base::CreateSymbolicLink(symlink_target, file_path_)); in TEST_F()
111 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F()
112 EXPECT_FALSE(base::IsLink(file_path_)); in TEST_F()
118 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid() + 1, getegid())); in TEST_F()
124 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid() + 1)); in TEST_F()
129 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid())); in TEST_F()
135 EXPECT_TRUE(TouchFile(file_path_, kPermissions700, geteuid(), getegid())); in TEST_F()
141 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid())); in TEST_F()
142 EXPECT_TRUE(TouchFile(file_path_, kPermissions700, geteuid(), getegid())); in TEST_F()