Lines Matching refs:files
180 void AddFilesToDir(const std::string& dir, const std::vector<std::string>& files) { in AddFilesToDir() argument
182 for (const auto& file : files) { in AddFilesToDir()
202 std::vector<std::string> files = FindFilesInDir(dirname); in MockFreeSpaceChecker() local
203 return PARTITION_SIZE - 4096 * files.size(); in MockFreeSpaceChecker()
214 std::vector<std::string> files = { "file1", "file2", "file3" }; in TEST_F() local
215 AddFilesToDir(mock_cache.path, files); in TEST_F()
216 ASSERT_EQ(files, FindFilesInDir(mock_cache.path)); in TEST_F()
226 std::vector<std::string> files{ "file1", "file2", "file3" }; in TEST_F() local
227 AddFilesToDir(mock_cache.path, files); in TEST_F()
228 ASSERT_EQ(files, FindFilesInDir(mock_cache.path)); in TEST_F()
236 std::vector<std::string> files = { "file1", "file2" }; in TEST_F() local
237 AddFilesToDir(mock_cache.path, files); in TEST_F()
238 ASSERT_EQ(files, FindFilesInDir(mock_cache.path)); in TEST_F()