Lines Matching refs:file_2_path

156   std::string file_2_path = scratch_dir_->GetPath() + "/file_2";  in TEST_F()  local
159 std::unique_ptr<NewFile> new_file_2 = OR_FATAL(NewFile::Create(file_2_path, fs_permission_)); in TEST_F()
168 CheckContent(file_2_path, "new_file_2"); in TEST_F()
177 std::string file_2_path = scratch_dir_->GetPath() + "/file_2"; in TEST_F() local
180 ASSERT_TRUE(WriteStringToFile("old_file_2", file_2_path)); in TEST_F()
183 std::unique_ptr<NewFile> new_file_2 = OR_FATAL(NewFile::Create(file_2_path, fs_permission_)); in TEST_F()
192 CheckContent(file_2_path, "new_file_2"); in TEST_F()
201 std::string file_2_path = scratch_dir_->GetPath() + "/file_2"; in TEST_F() local
206 std::unique_ptr<NewFile> new_file_2 = OR_FATAL(NewFile::Create(file_2_path, fs_permission_)); in TEST_F()
215 CheckContent(file_2_path, "new_file_2"); in TEST_F()
224 std::string file_2_path = scratch_dir_->GetPath() + "/file_2"; in TEST_F() local
228 ASSERT_TRUE(WriteStringToFile("old_file_2", file_2_path)); in TEST_F()
232 std::unique_ptr<NewFile> new_file_2 = OR_FATAL(NewFile::Create(file_2_path, fs_permission_)); in TEST_F()
242 CheckContent(file_2_path, "new_file_2"); in TEST_F()
252 std::string file_2_path = scratch_dir_->GetPath() + "/file_2"; in TEST_F() local
256 ASSERT_TRUE(WriteStringToFile("old_file_2", file_2_path)); in TEST_F()
262 OR_FATAL(UnkeepableFile::Create(file_2_path, fs_permission_)); in TEST_F()
272 CheckContent(file_2_path, "old_file_2"); in TEST_F()
288 std::string file_2_path = dir_2_path + "/file_2"; in TEST_F() local
291 std::unique_ptr<NewFile> new_file_2 = OR_FATAL(NewFile::Create(file_2_path, fs_permission_)); in TEST_F()
317 std::string file_2_path = scratch_dir_->GetPath() + "/file_2"; in TEST_F() local
318 std::filesystem::create_directory(file_2_path); in TEST_F()
325 std::unique_ptr<NewFile> new_file_2 = OR_FATAL(NewFile::Create(file_2_path, fs_permission_)); in TEST_F()
336 EXPECT_TRUE(std::filesystem::is_directory(file_2_path)); in TEST_F()