• Home
  • Raw
  • Download

Lines Matching refs:TestDirectory

429   SmallString<128> TestDirectory;  member in __anon566e41900111::FileSystemTest
433 fs::createUniqueDirectory("file-system-test", TestDirectory)); in SetUp()
435 errs() << "Test Directory: " << TestDirectory << '\n'; in SetUp()
439 void TearDown() override { ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); } in TearDown()
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()
577 ASSERT_EQ(fs::create_directory(Twine(TestDirectory) + "foo", false), in TEST_F()
579 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "foo")); in TEST_F()
587 fs::create_directory(Twine(TestDirectory) + "baz500", false, 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()
606 size_t TmpLen = TestDirectory.size(); in TEST_F()
611 SmallString<260> LongDir(TestDirectory); in TEST_F()
631 ASSERT_NE(::SetCurrentDirectoryA(TestDirectory.c_str()), 0); in TEST_F()
634 size_t LongDirLen = 249 - TestDirectory.size(); in TEST_F()
657 fs::create_directories(Twine(TestDirectory) + "/recursive/a0/aa1")); in TEST_F()
659 fs::create_directories(Twine(TestDirectory) + "/recursive/a0/ab1")); in TEST_F()
660 ASSERT_NO_ERROR(fs::create_directories(Twine(TestDirectory) + in TEST_F()
663 fs::create_directories(Twine(TestDirectory) + "/recursive/z0/za1")); in TEST_F()
665 fs::create_directories(Twine(TestDirectory) + "/recursive/pop/p1")); in TEST_F()
668 for (fs::recursive_directory_iterator i(Twine(TestDirectory) 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()
712 fs::remove(Twine(TestDirectory) + "/recursive/dontlookhere/da1")); 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()
722 fs::create_directories(Twine(TestDirectory) + "/reclevel/a/b/c")); in TEST_F()
723 fs::recursive_directory_iterator I(Twine(TestDirectory) + "/reclevel", ec), E; 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()
802 SmallString<128> file_pathname(TestDirectory); in TEST_F()
817 SmallString<128> FilePathname(TestDirectory); in TEST_F()