Searched refs:dir_content (Results 1 – 4 of 4) sorted by relevance
43 absl::optional<std::vector<std::string>> dir_content = in CleanDir() local46 ASSERT_FALSE(dir_content.has_value()) << "Empty directory is expected"; in CleanDir()48 ASSERT_TRUE(dir_content.has_value()) << "Test directory is empty!"; in CleanDir()49 EXPECT_EQ(dir_content->size(), expected_output_files_count); in CleanDir()50 for (const auto& entry : *dir_content) { in CleanDir()
47 absl::optional<std::vector<std::string>> dir_content = ReadDirectory(dir); in CleanDir() local48 EXPECT_TRUE(dir_content); in CleanDir()49 for (const auto& entry : *dir_content) { in CleanDir()250 absl::optional<std::vector<std::string>> dir_content = in TEST_F() local252 EXPECT_TRUE(dir_content); in TEST_F()253 EXPECT_EQ(2u, dir_content->size()); in TEST_F()
48 absl::optional<std::vector<std::string>> dir_content = in CleanDir() local51 ASSERT_TRUE(!dir_content.has_value() || dir_content->empty()) in CleanDir()54 ASSERT_TRUE(dir_content.has_value()) << "Test directory is empty!"; in CleanDir()55 EXPECT_EQ(dir_content->size(), expected_output_files_count); in CleanDir()56 for (const auto& entry : *dir_content) { in CleanDir()
155 absl::optional<std::vector<std::string>> dir_content = ReadDirectory(dir); in DeleteFolderAndContents() local156 EXPECT_TRUE(dir_content); in DeleteFolderAndContents()157 for (const auto& path : *dir_content) { in DeleteFolderAndContents()