Lines Matching refs:filesystem
19 ASSERT_FALSE(std::filesystem::exists(directory)); in SetUpTestSuite()
24 if (std::filesystem::exists(directory)) in TearDown()
26 std::filesystem::remove_all(directory); in TearDown()
39 std::filesystem::temp_directory_path() / "telemetry-tests");
120 setupSymlinks(const std::filesystem::path& originalFile, in setupSymlinks()
123 auto linkPath = std::filesystem::path(directory) / in setupSymlinks()
125 std::filesystem::create_directories(std::filesystem::path(directory) / in setupSymlinks()
127 std::filesystem::create_symlink(originalFile, linkPath); in setupSymlinks()
135 setupSymlinks(const std::filesystem::path& originalFile, in setupSymlinks()
138 auto linkPath = std::filesystem::path(directory) / "reportLink"; in setupSymlinks()
139 std::filesystem::create_directories(std::filesystem::path(directory) / in setupSymlinks()
141 std::filesystem::create_directory_symlink(originalFile.parent_path(), in setupSymlinks()
164 ASSERT_FALSE(std::filesystem::exists(dummyReportPath)); in SetUpTestSuite()
170 if (std::filesystem::exists(dummyReportPath)) in TearDown()
172 std::filesystem::remove(dummyReportPath); in TearDown()
176 static const std::filesystem::path dummyReportPath;
181 const std::filesystem::path
183 std::filesystem::temp_directory_path() / "report.json";
214 EXPECT_TRUE(std::filesystem::exists(TestFixture::linkPath)); in TYPED_TEST()
215 EXPECT_TRUE(std::filesystem::exists(TestFixture::dummyReportPath)); in TYPED_TEST()