Lines Matching refs:file_util
5 #include "base/file_util.h"
78 ASSERT_TRUE(file_util::PathExists(original_path)) << original_path.value();
84 ASSERT_TRUE(file_util::CopyFile(original_path, crx_path)) <<
93 ASSERT_TRUE(file_util::CreateDirectory(temp_path_));
127 file_util::FileEnumerator::FILE_TYPE files_and_dirs =
128 static_cast<file_util::FileEnumerator::FILE_TYPE>(
129 file_util::FileEnumerator::DIRECTORIES |
130 file_util::FileEnumerator::FILES);
132 file_util::FileEnumerator temp_iterator(
171 EXPECT_FALSE(file_util::PathExists(install_path));
176 EXPECT_FALSE(file_util::PathExists(install_path));
196 EXPECT_TRUE(file_util::GetFileInfo(messages_file, &old_info));
199 EXPECT_TRUE(file_util::SetLastModifiedTime(messages_file, old_time));
201 EXPECT_TRUE(file_util::GetFileInfo(messages_file, &old_info));
207 EXPECT_TRUE(file_util::GetFileInfo(messages_file, &new_info));