Lines Matching refs:ASSERT_NO_ERROR

31 #define ASSERT_NO_ERROR(x)                                                     \  macro
141 ASSERT_NO_ERROR(fs::make_absolute(temp_store)); in TEST()
156 ASSERT_NO_ERROR(sys::fs::make_absolute("/root", Relative)); in TEST()
431 ASSERT_NO_ERROR( in SetUp()
438 void TearDown() override { ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); } in TearDown()
445 ASSERT_NO_ERROR( in TEST_F()
450 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1)); in TEST_F()
451 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2)); in TEST_F()
457 ASSERT_NO_ERROR( in TEST_F()
461 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D)); in TEST_F()
465 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2))); in TEST_F()
469 ASSERT_NO_ERROR(fs::create_link(Twine(TempPath), Twine(TempPath2))); in TEST_F()
471 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D2)); in TEST_F()
477 ASSERT_NO_ERROR( in TEST_F()
479 ASSERT_NO_ERROR(fs::getUniqueID(Dir1.c_str(), F1)); in TEST_F()
480 ASSERT_NO_ERROR(fs::getUniqueID(Dir1.c_str(), F2)); in TEST_F()
484 ASSERT_NO_ERROR( in TEST_F()
486 ASSERT_NO_ERROR(fs::getUniqueID(Dir2.c_str(), F2)); in TEST_F()
494 ASSERT_NO_ERROR( in TEST_F()
503 ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "temp", FD2, TempPath2)); in TEST_F()
508 ASSERT_NO_ERROR(fs::status(Twine(TempPath), A)); in TEST_F()
509 ASSERT_NO_ERROR(fs::status(Twine(TempPath2), B)); in TEST_F()
515 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2))); in TEST_F()
516 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2))); in TEST_F()
529 ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "", TempPath3)); in TEST_F()
533 ASSERT_NO_ERROR(fs::create_link(Twine(TempPath), Twine(TempPath2))); in TEST_F()
535 ASSERT_NO_ERROR(fs::equivalent(Twine(TempPath), Twine(TempPath2), equal)); in TEST_F()
537 ASSERT_NO_ERROR(fs::status(Twine(TempPath), A)); in TEST_F()
538 ASSERT_NO_ERROR(fs::status(Twine(TempPath2), B)); in TEST_F()
543 ASSERT_NO_ERROR(fs::remove(Twine(TempPath))); in TEST_F()
546 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2))); in TEST_F()
568 ASSERT_NO_ERROR(fs::createTemporaryFile(Path216, "", TempPath)); in TEST_F()
569 ASSERT_NO_ERROR(fs::remove(Twine(TempPath))); in TEST_F()
574 ASSERT_NO_ERROR(fs::create_directory(Twine(TestDirectory) + "foo")); in TEST_F()
575 ASSERT_NO_ERROR(fs::create_directory(Twine(TestDirectory) + "foo")); in TEST_F()
578 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "foo")); in TEST_F()
585 ASSERT_NO_ERROR( in TEST_F()
588 ASSERT_NO_ERROR(fs::status(Twine(TestDirectory) + "baz500", Status)); in TEST_F()
591 ASSERT_NO_ERROR(fs::create_directory(Twine(TestDirectory) + "baz777", false, in TEST_F()
593 ASSERT_NO_ERROR(fs::status(Twine(TestDirectory) + "baz777", Status)); in TEST_F()
613 ASSERT_NO_ERROR(fs::create_directories(Twine(LongDir))); in TEST_F()
614 ASSERT_NO_ERROR(fs::create_directories(Twine(LongDir))); in TEST_F()
620 ASSERT_NO_ERROR(fs::remove(ThisDir)); in TEST_F()
635 ASSERT_NO_ERROR(fs::create_directory(Twine(LongDir))); in TEST_F()
639 ASSERT_NO_ERROR(fs::create_directory("b")); in TEST_F()
642 ASSERT_NO_ERROR(fs::remove("b")); in TEST_F()
643 ASSERT_NO_ERROR(fs::remove( in TEST_F()
652 ASSERT_NO_ERROR(ec); in TEST_F()
655 ASSERT_NO_ERROR( in TEST_F()
657 ASSERT_NO_ERROR( in TEST_F()
659 ASSERT_NO_ERROR(fs::create_directories(Twine(TestDirectory) + in TEST_F()
661 ASSERT_NO_ERROR( in TEST_F()
663 ASSERT_NO_ERROR( in TEST_F()
669 ASSERT_NO_ERROR(ec); in TEST_F()
707 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/a0/aa1")); in TEST_F()
708 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/a0/ab1")); in TEST_F()
709 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/a0")); in TEST_F()
710 ASSERT_NO_ERROR( in TEST_F()
712 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/dontlookhere")); in TEST_F()
713 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/pop/p1")); in TEST_F()
714 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/pop")); in TEST_F()
715 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/z0/za1")); in TEST_F()
716 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive/z0")); in TEST_F()
717 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "/recursive")); in TEST_F()
788 ASSERT_NO_ERROR(fs::remove(Twine(file_pathname))); in TEST_F()
800 ASSERT_NO_ERROR(EC); in TEST_F()
811 ASSERT_NO_ERROR(EC); in TEST_F()
819 ASSERT_NO_ERROR(fs::remove(Twine(FilePathname))); in TEST_F()
826 ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "temp", FD, TempPath)); in TEST_F()
827 ASSERT_NO_ERROR(fs::resize_file(FD, 123)); in TEST_F()
829 ASSERT_NO_ERROR(fs::status(FD, Status)); in TEST_F()
837 ASSERT_NO_ERROR( in TEST_F()
840 ASSERT_NO_ERROR(fs::resize_file(FileDescriptor, Size)); in TEST_F()
848 ASSERT_NO_ERROR(EC); in TEST_F()
858 ASSERT_NO_ERROR(EC); in TEST_F()
860 ASSERT_NO_ERROR(EC); in TEST_F()
867 ASSERT_NO_ERROR(EC); in TEST_F()