Lines Matching refs:filesystem

30     EXPECT_TRUE(std::filesystem::remove(testFileName));  in TEST()
44 EXPECT_TRUE(std::filesystem::remove(testFileName)); in TEST()
57 EXPECT_TRUE(std::filesystem::remove(testFileName)); in TEST()
78 EXPECT_TRUE(std::filesystem::remove(testFileName)); in TEST()
99 EXPECT_TRUE(std::filesystem::remove(testFileName)); in TEST()
115 std::filesystem::create_directories("abc/device"); in TEST()
123 std::filesystem::create_directories("def/device"); in TEST()
126 std::filesystem::create_directories("mmcblk0/device"); in TEST()
133 std::filesystem::path deviceFile, sysfsDir; in TEST()
136 estoraged::util::findDevice(data, std::filesystem::path("./")); in TEST()
150 EXPECT_EQ(3U, std::filesystem::remove_all("mmcblk0")); in TEST()
151 EXPECT_EQ(3U, std::filesystem::remove_all("abc")); in TEST()
152 EXPECT_EQ(2U, std::filesystem::remove_all("def")); in TEST()
173 std::filesystem::create_directories("abc/device"); in TEST()
181 std::filesystem::create_directories("def/device"); in TEST()
184 std::filesystem::create_directories("mmcblk0/device"); in TEST()
191 std::filesystem::path deviceFile, sysfsDir; in TEST()
194 estoraged::util::findDevice(data, std::filesystem::path("./")); in TEST()
208 EXPECT_EQ(3U, std::filesystem::remove_all("mmcblk0")); in TEST()
209 EXPECT_EQ(3U, std::filesystem::remove_all("abc")); in TEST()
210 EXPECT_EQ(2U, std::filesystem::remove_all("def")); in TEST()
222 std::filesystem::create_directories("abc/device"); in TEST()
230 std::filesystem::create_directories("def/device"); in TEST()
233 std::filesystem::create_directories("mmcblk0/device"); in TEST()
241 estoraged::util::findDevice(data, std::filesystem::path("./")); in TEST()
245 EXPECT_EQ(3U, std::filesystem::remove_all("mmcblk0")); in TEST()
246 EXPECT_EQ(3U, std::filesystem::remove_all("abc")); in TEST()
247 EXPECT_EQ(2U, std::filesystem::remove_all("def")); in TEST()
261 std::filesystem::create_directories("abc/device"); in TEST()
269 std::filesystem::create_directories("def/device"); in TEST()
272 std::filesystem::create_directories("mmcblk0/device"); in TEST()
280 estoraged::util::findDevice(data, std::filesystem::path("./")); in TEST()
284 EXPECT_EQ(3U, std::filesystem::remove_all("mmcblk0")); in TEST()
285 EXPECT_EQ(3U, std::filesystem::remove_all("abc")); in TEST()
286 EXPECT_EQ(2U, std::filesystem::remove_all("def")); in TEST()
300 std::filesystem::create_directories("abc/device"); in TEST()
308 std::filesystem::create_directories("def/device"); in TEST()
312 estoraged::util::findDevice(data, std::filesystem::path("./")); in TEST()
316 EXPECT_EQ(3U, std::filesystem::remove_all("abc")); in TEST()
317 EXPECT_EQ(2U, std::filesystem::remove_all("def")); in TEST()