Lines Matching refs:ATF_REQUIRE

103     ATF_REQUIRE( path("/").is_absolute());
104 ATF_REQUIRE( path("////").is_absolute());
105 ATF_REQUIRE( path("////a").is_absolute());
106 ATF_REQUIRE( path("//a//").is_absolute());
107 ATF_REQUIRE(!path("a////").is_absolute());
108 ATF_REQUIRE(!path("../foo").is_absolute());
120 ATF_REQUIRE( path("/").is_root());
121 ATF_REQUIRE( path("////").is_root());
122 ATF_REQUIRE(!path("////a").is_root());
123 ATF_REQUIRE(!path("//a//").is_root());
124 ATF_REQUIRE(!path("a////").is_root());
125 ATF_REQUIRE(!path("../foo").is_root());
169 ATF_REQUIRE(path("/") == path("///"));
170 ATF_REQUIRE(path("/a") == path("///a"));
171 ATF_REQUIRE(path("/a") == path("///a///"));
173 ATF_REQUIRE(path("a/b/c") == path("a//b//c"));
174 ATF_REQUIRE(path("a/b/c") == path("a//b//c///"));
186 ATF_REQUIRE(path("/") != path("//a/"));
187 ATF_REQUIRE(path("/a") != path("a///"));
189 ATF_REQUIRE(path("a/b/c") != path("a/b"));
190 ATF_REQUIRE(path("a/b/c") != path("a//b"));
191 ATF_REQUIRE(path("a/b/c") != path("/a/b/c"));
192 ATF_REQUIRE(path("a/b/c") != path("/a//b//c"));
226 ATF_REQUIRE(pa.is_absolute());
237 ATF_REQUIRE(pa.is_absolute());
257 ATF_REQUIRE(!(path("aaa") < path("aaa")));
259 ATF_REQUIRE( path("aab") < path("abc"));
260 ATF_REQUIRE(!(path("abc") < path("aab")));
282 ATF_REQUIRE(d.find(".") != d.end());
283 ATF_REQUIRE(d.find("..") != d.end());
284 ATF_REQUIRE(d.find("dir") != d.end());
285 ATF_REQUIRE(d.find("reg") != d.end());
306 ATF_REQUIRE(iter != d.end());
308 ATF_REQUIRE(fi.get_type() == file_info::dir_type);
313 ATF_REQUIRE(iter != d.end());
315 ATF_REQUIRE(fi.get_type() == file_info::reg_type);
334 ATF_REQUIRE(ns.find(".") != ns.end());
335 ATF_REQUIRE(ns.find("..") != ns.end());
336 ATF_REQUIRE(ns.find("dir") != ns.end());
337 ATF_REQUIRE(ns.find("reg") != ns.end());
359 ATF_REQUIRE(fi.get_type() == file_info::dir_type);
365 ATF_REQUIRE(fi.get_type() == file_info::reg_type);
388 ATF_REQUIRE(fi.is_owner_readable() == ur); \
389 ATF_REQUIRE(fi.is_owner_writable() == uw); \
390 ATF_REQUIRE(fi.is_owner_executable() == ux); \
391 ATF_REQUIRE(fi.is_group_readable() == gr); \
392 ATF_REQUIRE(fi.is_group_writable() == gw); \
393 ATF_REQUIRE(fi.is_group_executable() == gx); \
394 ATF_REQUIRE(fi.is_other_readable() == othr); \
395 ATF_REQUIRE(fi.is_other_writable() == othw); \
396 ATF_REQUIRE(fi.is_other_executable() == othx); \
457 ATF_REQUIRE( exists(path("files")));
458 ATF_REQUIRE(!exists(path("file")));
459 ATF_REQUIRE(!exists(path("files2")));
461 ATF_REQUIRE( exists(path("files/.")));
462 ATF_REQUIRE( exists(path("files/..")));
463 ATF_REQUIRE( exists(path("files/dir")));
464 ATF_REQUIRE( exists(path("files/reg")));
465 ATF_REQUIRE(!exists(path("files/foo")));
480 ATF_REQUIRE( is_executable(path("files")));
481 ATF_REQUIRE( is_executable(path("files/.")));
482 ATF_REQUIRE( is_executable(path("files/..")));
483 ATF_REQUIRE( is_executable(path("files/dir")));
485 ATF_REQUIRE(!is_executable(path("non-existent")));
487 ATF_REQUIRE(!is_executable(path("files/reg")));
488 ATF_REQUIRE(::chmod("files/reg", 0755) != -1);
489 ATF_REQUIRE( is_executable(path("files/reg")));
505 ATF_REQUIRE( exists(path("files/reg")));
507 ATF_REQUIRE(!exists(path("files/reg")));
509 ATF_REQUIRE( exists(path("files/dir")));
511 ATF_REQUIRE( exists(path("files/dir")));