Home
last modified time | relevance | path

Searched refs:wait_path (Results 1 – 1 of 1) sorted by relevance

/system/core/fs_mgr/libfs_avb/tests/
Dutil_test.cpp159 base::FilePath wait_path = tmp_dir.Append("libfs_avb-test-exist-dir"); in TEST() local
160 ASSERT_TRUE(base::DeleteFile(wait_path, false /* resursive */)); in TEST()
162 EXPECT_TRUE(base::CreateDirectory(wait_path)); in TEST()
163 EXPECT_TRUE(WaitForFile(wait_path.value(), 1s)); in TEST()
166 ASSERT_TRUE(base::DeleteFile(wait_path, false /* resursive */)); in TEST()
170 base::FilePath wait_path("/path/not/exist"); in TEST() local
171 EXPECT_FALSE(WaitForFile(wait_path.value(), 200ms)); in TEST()
180 base::FilePath wait_path = tmp_dir.Append("libfs_avb-test-exist-dir"); in TEST() local
181 ASSERT_TRUE(base::DeleteFile(wait_path, false /* resursive */)); in TEST()
182 auto wait_file = std::async(WaitForFile, wait_path.value(), 500ms, FileWaitMode::Exists); in TEST()
[all …]