/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/ |
D | weakly_canonical.pass.cpp | 44 {StaticEnv::File, StaticEnv::File}, in main() 45 {StaticEnv::Dir, StaticEnv::Dir}, in main() 46 {StaticEnv::SymlinkToDir, StaticEnv::Dir}, in main() 47 {StaticEnv::SymlinkToDir / "dir2/.", StaticEnv::Dir / "dir2"}, in main() 50 {StaticEnv::SymlinkToDir / "dir2/./", StaticEnv::Dir / "dir2"}, in main() 51 {StaticEnv::SymlinkToDir / "dir2/DNE/./", StaticEnv::Dir / "dir2/DNE/"}, in main() 52 {StaticEnv::SymlinkToDir / "dir2", StaticEnv::Dir2}, in main() 53 {StaticEnv::SymlinkToDir / "dir2/../dir2/DNE/..", StaticEnv::Dir2 / ""}, in main() 54 {StaticEnv::SymlinkToDir / "dir2/dir3/../DNE/DNE2", StaticEnv::Dir2 / "DNE/DNE2"}, in main() 55 {StaticEnv::Dir / "../dir1", StaticEnv::Dir}, in main() [all …]
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/ |
D | relative.pass.cpp | 45 fs::path p(StaticEnv::File); in TEST_CASE() 47 TEST_CHECK(output == std::string(StaticEnv::File)); in TEST_CASE() 51 fs::path p(StaticEnv::Dir); in TEST_CASE() 53 TEST_CHECK(output == std::string(StaticEnv::Dir)); in TEST_CASE() 57 fs::path p(StaticEnv::SymlinkToDir); in TEST_CASE() 59 TEST_CHECK(output == std::string(StaticEnv::Dir)); in TEST_CASE() 63 fs::path p(StaticEnv::SymlinkToDir / "dir2/."); in TEST_CASE() 65 TEST_CHECK(output == std::string(StaticEnv::Dir / "dir2")); in TEST_CASE() 71 fs::path p(StaticEnv::SymlinkToDir / "dir2/./"); in TEST_CASE() 73 TEST_CHECK(output == std::string(StaticEnv::Dir / "dir2")); in TEST_CASE() [all …]
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/ |
D | canonical.pass.cpp | 52 const path Root = StaticEnv::Root; in TEST_CASE() 54 const path DirName = StaticEnv::Dir.filename(); in TEST_CASE() 55 const path SymlinkName = StaticEnv::SymlinkToFile.filename(); in TEST_CASE() 60 TestCase(path p1, path e, path b = StaticEnv::Root) in TEST_CASE() 65 { DirName / ".." / "." / DirName, StaticEnv::Dir, Root}, in TEST_CASE() 66 { StaticEnv::Dir2 / "..", StaticEnv::Dir }, in TEST_CASE() 67 { StaticEnv::Dir3 / "../..", StaticEnv::Dir }, in TEST_CASE() 68 { StaticEnv::Dir / ".", StaticEnv::Dir }, in TEST_CASE() 69 { Root / "." / DirName / ".." / DirName, StaticEnv::Dir}, in TEST_CASE() 70 { path("..") / "." / RootName / DirName / ".." / DirName, StaticEnv::Dir, Root}, in TEST_CASE() [all …]
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.hard_lk_ct/ |
D | hard_link_count.pass.cpp | 41 TEST_CHECK(hard_link_count(StaticEnv::File) == 1); in TEST_CASE() 43 TEST_CHECK(hard_link_count(StaticEnv::File, ec) == 1); in TEST_CASE() 59 TEST_CHECK(hard_link_count(StaticEnv::Dir) == DirExpect || in TEST_CASE() 60 hard_link_count(StaticEnv::Dir) == DirExpectAlt || in TEST_CASE() 61 hard_link_count(StaticEnv::Dir) == 1); in TEST_CASE() 62 TEST_CHECK(hard_link_count(StaticEnv::Dir3) == Dir3Expect || in TEST_CASE() 63 hard_link_count(StaticEnv::Dir3) == Dir3ExpectAlt || in TEST_CASE() 64 hard_link_count(StaticEnv::Dir3) == 1); in TEST_CASE() 67 TEST_CHECK(hard_link_count(StaticEnv::Dir, ec) == DirExpect || in TEST_CASE() 68 hard_link_count(StaticEnv::Dir, ec) == DirExpectAlt || in TEST_CASE() [all …]
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.equivalent/ |
D | equivalent.pass.cpp | 45 {StaticEnv::Dir, StaticEnv::Dir, true}, in TEST_CASE() 46 {StaticEnv::File, StaticEnv::Dir, false}, in TEST_CASE() 47 {StaticEnv::Dir, StaticEnv::SymlinkToDir, true}, in TEST_CASE() 48 {StaticEnv::Dir, StaticEnv::SymlinkToFile, false}, in TEST_CASE() 49 {StaticEnv::File, StaticEnv::File, true}, in TEST_CASE() 50 {StaticEnv::File, StaticEnv::SymlinkToFile, true}, in TEST_CASE() 60 const path E = StaticEnv::File; in TEST_CASE() 61 const path DNE = StaticEnv::DNE; in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/ |
D | recursion_pending.pass.cpp | 33 recursive_directory_iterator it(StaticEnv::Dir); in TEST_CASE() 39 recursive_directory_iterator rec_pending_it(StaticEnv::Dir); in TEST_CASE() 40 recursive_directory_iterator no_rec_pending_it(StaticEnv::Dir); in TEST_CASE() 53 recursive_directory_iterator it(StaticEnv::Dir); in TEST_CASE() 60 recursive_directory_iterator it2(StaticEnv::Dir); in TEST_CASE() 71 recursive_directory_iterator rec_pending_it(StaticEnv::Dir); in TEST_CASE() 72 recursive_directory_iterator no_rec_pending_it(StaticEnv::Dir); in TEST_CASE() 85 recursive_directory_iterator it(StaticEnv::Dir); in TEST_CASE() 91 recursive_directory_iterator it2(StaticEnv::Dir); in TEST_CASE() 104 recursive_directory_iterator it(StaticEnv::Dir); in TEST_CASE() [all …]
|
D | ctor.pass.cpp | 68 const path testPaths[] = { StaticEnv::DNE, StaticEnv::BadSymlink }; in TEST_CASE() 174 const path testDir = StaticEnv::Dir; in TEST_CASE() 175 std::set<path> dir_contents(std::begin(StaticEnv::DirIterationList), in TEST_CASE() 176 std::end( StaticEnv::DirIterationList)); in TEST_CASE() 195 const path testFile = StaticEnv::File; in TEST_CASE() 210 const path goodDir = StaticEnv::Dir; in TEST_CASE() 211 const path badDir = StaticEnv::DNE; in TEST_CASE()
|
D | increment.pass.cpp | 46 const path testDir = StaticEnv::Dir; in TEST_CASE() 47 const std::set<path> dir_contents(std::begin(StaticEnv::RecDirIterationList), in TEST_CASE() 48 std::end( StaticEnv::RecDirIterationList)); in TEST_CASE() 69 const path testDir = StaticEnv::Dir; in TEST_CASE() 70 const std::set<path> dir_contents(std::begin(StaticEnv::RecDirIterationList), in TEST_CASE() 71 std::end( StaticEnv::RecDirIterationList)); in TEST_CASE() 92 const path testDir = StaticEnv::Dir; in TEST_CASE() 93 const std::set<path> dir_contents(std::begin(StaticEnv::RecDirIterationList), in TEST_CASE() 94 std::end( StaticEnv::RecDirIterationList)); in TEST_CASE() 116 const path testDir = StaticEnv::Dir; in TEST_CASE() [all …]
|
/external/libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/ |
D | increment.pass.cpp | 47 const path testDir = StaticEnv::Dir; in TEST_CASE() 48 const std::set<path> dir_contents(std::begin(StaticEnv::DirIterationList), in TEST_CASE() 49 std::end( StaticEnv::DirIterationList)); in TEST_CASE() 70 const path testDir = StaticEnv::Dir; in TEST_CASE() 71 const std::set<path> dir_contents(std::begin(StaticEnv::DirIterationList), in TEST_CASE() 72 std::end( StaticEnv::DirIterationList)); in TEST_CASE() 94 const path testDir = StaticEnv::Dir; in TEST_CASE() 95 const std::set<path> dir_contents(std::begin(StaticEnv::DirIterationList), in TEST_CASE() 96 std::end( StaticEnv::DirIterationList)); in TEST_CASE()
|
D | move_assign.pass.cpp | 45 const path testDir = StaticEnv::Dir; in TEST_CASE() 60 const path testDir = StaticEnv::Dir; in TEST_CASE() 74 const path testDir = StaticEnv::Dir; in TEST_CASE() 105 directory_iterator it(StaticEnv::Dir); in TEST_CASE() 106 directory_iterator it2(StaticEnv::Dir); in TEST_CASE()
|
D | ctor.pass.cpp | 67 const path testPaths[] = { StaticEnv::DNE, StaticEnv::BadSymlink }; in TEST_CASE() 172 const path testDir = StaticEnv::Dir; in TEST_CASE() 173 std::set<path> dir_contents(std::begin(StaticEnv::DirIterationList), in TEST_CASE() 174 std::end( StaticEnv::DirIterationList)); in TEST_CASE() 193 const path testFile = StaticEnv::File; in TEST_CASE() 228 const path symlinkToDir = StaticEnv::SymlinkToDir; in TEST_CASE() 230 for (path const& p : StaticEnv::DirIterationList) { in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/ |
D | path.pass.cpp | 64 const directory_entry e(StaticEnv::File, ec); in TEST_CASE() 65 TEST_CHECK(e.path() == StaticEnv::File); in TEST_CASE() 126 directory_entry ent(StaticEnv::DNE, ec); in TEST_CASE() 128 TEST_CHECK(ent.path() == StaticEnv::DNE); in TEST_CASE() 133 directory_entry ent(StaticEnv::BadSymlink, ec); in TEST_CASE() 135 TEST_CHECK(ent.path() == StaticEnv::BadSymlink); in TEST_CASE() 139 directory_entry ent(StaticEnv::DNE); in TEST_CASE() 140 TEST_CHECK(ent.path() == StaticEnv::DNE); in TEST_CASE() 142 directory_entry ent_two(StaticEnv::BadSymlink); in TEST_CASE() 143 TEST_CHECK(ent_two.path() == StaticEnv::BadSymlink); in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/ |
D | file_size.pass.cpp | 41 const path p = StaticEnv::EmptyFile; in TEST_CASE() 58 const path p = StaticEnv::File; in TEST_CASE() 59 const path p2 = StaticEnv::SymlinkToFile; in TEST_CASE() 69 {StaticEnv::Dir, std::errc::is_a_directory}, in TEST_CASE() 70 {StaticEnv::SymlinkToDir, std::errc::is_a_directory}, in TEST_CASE() 71 {StaticEnv::BadSymlink, std::errc::no_such_file_or_directory}, in TEST_CASE() 72 {StaticEnv::DNE, std::errc::no_such_file_or_directory}, in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.space/ |
D | space.pass.cpp | 66 StaticEnv::DNE, in TEST_CASE() 67 StaticEnv::BadSymlink in TEST_CASE() 87 TEST_REQUIRE(::statvfs(StaticEnv::Dir.c_str(), &expect) != -1); in TEST_CASE() 109 StaticEnv::File, in TEST_CASE() 110 StaticEnv::Dir, in TEST_CASE() 111 StaticEnv::Dir2, in TEST_CASE() 112 StaticEnv::SymlinkToFile, in TEST_CASE() 113 StaticEnv::SymlinkToDir in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_symlink/ |
D | is_symlink.pass.cpp | 71 {StaticEnv::File, false}, in TEST_CASE() 72 {StaticEnv::Dir, false}, in TEST_CASE() 73 {StaticEnv::SymlinkToFile, true}, in TEST_CASE() 74 {StaticEnv::SymlinkToDir, true}, in TEST_CASE() 75 {StaticEnv::BadSymlink, true} in TEST_CASE() 84 const path p = StaticEnv::DNE; in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/ |
D | current_path.pass.cpp | 55 const path new_path = StaticEnv::Dir; in TEST_CASE() 62 const path p = StaticEnv::File; in TEST_CASE() 72 const path base = StaticEnv::Dir; in TEST_CASE() 74 const path p = StaticEnv::Dir2.filename(); in TEST_CASE() 79 TEST_CHECK(new_cwd == StaticEnv::Dir2); in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/ |
D | status.pass.cpp | 40 StaticEnv::DNE, in TEST_CASE() 41 StaticEnv::BadSymlink in TEST_CASE() 111 {StaticEnv::File, file_type::regular}, in TEST_CASE() 112 {StaticEnv::SymlinkToFile, file_type::regular}, in TEST_CASE() 113 {StaticEnv::Dir, file_type::directory}, in TEST_CASE() 114 {StaticEnv::SymlinkToDir, file_type::directory}, in TEST_CASE() 116 {StaticEnv::CharFile, file_type::character}, in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/ |
D | is_empty.pass.cpp | 39 const path p = StaticEnv::DNE; in TEST_CASE() 48 TEST_CHECK(!is_empty(StaticEnv::Dir)); in TEST_CASE() 49 TEST_CHECK(!is_empty(StaticEnv::SymlinkToDir)); in TEST_CASE() 62 TEST_CHECK(is_empty(StaticEnv::EmptyFile)); in TEST_CASE() 63 TEST_CHECK(!is_empty(StaticEnv::NonEmptyFile)); in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/ |
D | symlink_status.pass.cpp | 40 StaticEnv::DNE in TEST_CASE() 118 {StaticEnv::BadSymlink, file_type::symlink}, in TEST_CASE() 119 {StaticEnv::File, file_type::regular}, in TEST_CASE() 120 {StaticEnv::SymlinkToFile, file_type::symlink}, in TEST_CASE() 121 {StaticEnv::Dir, file_type::directory}, in TEST_CASE() 122 {StaticEnv::SymlinkToDir, file_type::symlink}, in TEST_CASE() 124 {StaticEnv::CharFile, file_type::character}, in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/ |
D | status.pass.cpp | 38 path TestCases[] = {StaticEnv::File, StaticEnv::Dir, StaticEnv::SymlinkToFile, in TEST_CASE() 39 StaticEnv::DNE}; in TEST_CASE()
|
D | symlink_status.pass.cpp | 38 path TestCases[] = {StaticEnv::File, StaticEnv::Dir, StaticEnv::SymlinkToFile, in TEST_CASE() 39 StaticEnv::DNE}; in TEST_CASE()
|
D | last_write_time.pass.cpp | 100 ent.assign(StaticEnv::DNE, ec); in TEST_CASE() 101 TEST_REQUIRE(ent.path() == StaticEnv::DNE); in TEST_CASE() 108 ExceptionChecker Checker(StaticEnv::DNE, in TEST_CASE() 118 file_time_type expect_bad = last_write_time(StaticEnv::BadSymlink, ec); in TEST_CASE() 123 ent.assign(StaticEnv::BadSymlink, ec); in TEST_CASE() 124 TEST_REQUIRE(ent.path() == StaticEnv::BadSymlink); in TEST_CASE() 131 ExceptionChecker Checker(StaticEnv::BadSymlink, in TEST_CASE()
|
D | file_size.pass.cpp | 128 ent.assign(StaticEnv::DNE, ec); in TEST_CASE() 129 TEST_REQUIRE(ent.path() == StaticEnv::DNE); in TEST_CASE() 136 ExceptionChecker Checker(StaticEnv::DNE, in TEST_CASE() 146 uintmax_t expect_bad = file_size(StaticEnv::BadSymlink, ec); in TEST_CASE() 151 ent.assign(StaticEnv::BadSymlink, ec); in TEST_CASE() 152 TEST_REQUIRE(ent.path() == StaticEnv::BadSymlink); in TEST_CASE() 159 ExceptionChecker Checker(StaticEnv::BadSymlink, in TEST_CASE()
|
D | hard_link_count.pass.cpp | 126 ent.assign(StaticEnv::DNE, ec); in TEST_CASE() 128 TEST_REQUIRE(ent.path() == StaticEnv::DNE); in TEST_CASE() 135 ExceptionChecker Checker(StaticEnv::DNE, in TEST_CASE() 145 uintmax_t expect_bad = hard_link_count(StaticEnv::BadSymlink, ec); in TEST_CASE() 150 ent.assign(StaticEnv::BadSymlink, ec); in TEST_CASE() 151 TEST_REQUIRE(ent.path() == StaticEnv::BadSymlink); in TEST_CASE() 158 ExceptionChecker Checker(StaticEnv::BadSymlink, in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_directory/ |
D | is_directory.pass.cpp | 66 const path p = StaticEnv::DNE; in TEST_CASE() 72 TEST_CHECK(is_directory(StaticEnv::Dir)); in TEST_CASE() 73 TEST_CHECK(is_directory(StaticEnv::SymlinkToDir)); in TEST_CASE() 74 TEST_CHECK(!is_directory(StaticEnv::File)); in TEST_CASE()
|