Lines Matching refs:ASSERT_NO_ERROR
32 #define ASSERT_NO_ERROR(x) \ macro
142 ASSERT_NO_ERROR(fs::make_absolute(temp_store)); in TEST()
157 ASSERT_NO_ERROR(sys::fs::make_absolute("/root", Relative)); in TEST()
432 ASSERT_NO_ERROR( in SetUp()
439 void TearDown() override { ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); } in TearDown()
446 ASSERT_NO_ERROR( in TEST_F()
451 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1)); in TEST_F()
452 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2)); in TEST_F()
458 ASSERT_NO_ERROR( in TEST_F()
462 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D)); in TEST_F()
466 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2))); in TEST_F()
470 ASSERT_NO_ERROR(fs::create_link(Twine(TempPath), Twine(TempPath2))); in TEST_F()
472 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D2)); in TEST_F()
478 ASSERT_NO_ERROR( in TEST_F()
480 ASSERT_NO_ERROR(fs::getUniqueID(Dir1.c_str(), F1)); in TEST_F()
481 ASSERT_NO_ERROR(fs::getUniqueID(Dir1.c_str(), F2)); in TEST_F()
485 ASSERT_NO_ERROR( in TEST_F()
487 ASSERT_NO_ERROR(fs::getUniqueID(Dir2.c_str(), F2)); in TEST_F()
495 ASSERT_NO_ERROR( in TEST_F()
504 ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "temp", FD2, TempPath2)); in TEST_F()
509 ASSERT_NO_ERROR(fs::status(Twine(TempPath), A)); in TEST_F()
510 ASSERT_NO_ERROR(fs::status(Twine(TempPath2), B)); in TEST_F()
516 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2))); in TEST_F()
517 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2))); in TEST_F()
530 ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "", TempPath3)); in TEST_F()
534 ASSERT_NO_ERROR(fs::create_link(Twine(TempPath), Twine(TempPath2))); in TEST_F()
536 ASSERT_NO_ERROR(fs::equivalent(Twine(TempPath), Twine(TempPath2), equal)); in TEST_F()
538 ASSERT_NO_ERROR(fs::status(Twine(TempPath), A)); in TEST_F()
539 ASSERT_NO_ERROR(fs::status(Twine(TempPath2), B)); in TEST_F()
544 ASSERT_NO_ERROR(fs::remove(Twine(TempPath))); in TEST_F()
547 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2))); in TEST_F()
569 ASSERT_NO_ERROR(fs::createTemporaryFile(Path216, "", TempPath)); in TEST_F()
570 ASSERT_NO_ERROR(fs::remove(Twine(TempPath))); in TEST_F()
575 ASSERT_NO_ERROR(fs::create_directory(Twine(TestDirectory) + "foo")); in TEST_F()
576 ASSERT_NO_ERROR(fs::create_directory(Twine(TestDirectory) + "foo")); in TEST_F()
579 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "foo")); in TEST_F()
586 ASSERT_NO_ERROR( in TEST_F()
589 ASSERT_NO_ERROR(fs::status(Twine(TestDirectory) + "baz500", Status)); in TEST_F()
592 ASSERT_NO_ERROR(fs::create_directory(Twine(TestDirectory) + "baz777", false, in TEST_F()
594 ASSERT_NO_ERROR(fs::status(Twine(TestDirectory) + "baz777", Status)); in TEST_F()
614 ASSERT_NO_ERROR(fs::create_directories(Twine(LongDir))); in TEST_F()
615 ASSERT_NO_ERROR(fs::create_directories(Twine(LongDir))); in TEST_F()
621 ASSERT_NO_ERROR(fs::remove(ThisDir)); in TEST_F()
636 ASSERT_NO_ERROR(fs::create_directory(Twine(LongDir))); in TEST_F()
640 ASSERT_NO_ERROR(fs::create_directory("b")); in TEST_F()
643 ASSERT_NO_ERROR(fs::remove("b")); in TEST_F()
644 ASSERT_NO_ERROR(fs::remove( in TEST_F()
653 ASSERT_NO_ERROR(ec); in TEST_F()
656 ASSERT_NO_ERROR( in TEST_F()
658 ASSERT_NO_ERROR( in TEST_F()
660 ASSERT_NO_ERROR(fs::create_directories(Twine(TestDirectory) + in TEST_F()
662 ASSERT_NO_ERROR( in TEST_F()
664 ASSERT_NO_ERROR( in TEST_F()
670 ASSERT_NO_ERROR(ec); in TEST_F()
708 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/a0/aa1")); in TEST_F()
709 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/a0/ab1")); in TEST_F()
710 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/a0")); in TEST_F()
711 ASSERT_NO_ERROR( in TEST_F()
713 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/dontlookhere")); in TEST_F()
714 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/pop/p1")); in TEST_F()
715 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/pop")); in TEST_F()
716 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/z0/za1")); in TEST_F()
717 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/z0")); in TEST_F()
718 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive")); in TEST_F()
721 ASSERT_NO_ERROR( in TEST_F()
725 ASSERT_NO_ERROR(ec); in TEST_F()
729 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/reclevel/a/b/c")); in TEST_F()
730 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/reclevel/a/b")); in TEST_F()
731 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/reclevel/a")); in TEST_F()
732 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/reclevel")); in TEST_F()
811 ASSERT_NO_ERROR(fs::remove(Twine(file_pathname))); in TEST_F()
823 ASSERT_NO_ERROR(EC); in TEST_F()
834 ASSERT_NO_ERROR(EC); in TEST_F()
842 ASSERT_NO_ERROR(fs::remove(Twine(FilePathname))); in TEST_F()
849 ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "temp", FD, TempPath)); in TEST_F()
850 ASSERT_NO_ERROR(fs::resize_file(FD, 123)); in TEST_F()
852 ASSERT_NO_ERROR(fs::status(FD, Status)); in TEST_F()
860 ASSERT_NO_ERROR( in TEST_F()
863 ASSERT_NO_ERROR(fs::resize_file(FileDescriptor, Size)); in TEST_F()
871 ASSERT_NO_ERROR(EC); in TEST_F()
881 ASSERT_NO_ERROR(EC); in TEST_F()
883 ASSERT_NO_ERROR(EC); in TEST_F()
890 ASSERT_NO_ERROR(EC); in TEST_F()
1003 ASSERT_NO_ERROR( in TEST_F()
1019 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), D1)); in TEST_F()
1020 ASSERT_NO_ERROR(fs::getUniqueID(Twine(ResultPath), D2)); in TEST_F()
1031 ASSERT_NO_ERROR( in TEST_F()
1053 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), D1)); in TEST_F()
1054 ASSERT_NO_ERROR(fs::getUniqueID(Twine(ResultPath), D2)); in TEST_F()
1066 ASSERT_NO_ERROR( in TEST_F()
1079 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), D1)); in TEST_F()
1080 ASSERT_NO_ERROR(fs::getUniqueID(Twine(ResultPath), D2)); in TEST_F()
1090 ASSERT_NO_ERROR( in TEST_F()
1099 ASSERT_NO_ERROR( in TEST_F()
1107 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), D1)); in TEST_F()
1108 ASSERT_NO_ERROR(fs::getUniqueID(Twine(ResultPath), D2)); in TEST_F()