Lines Matching refs:TestDirectory
428 SmallString<128> TestDirectory; member in __anona2f50d470111::FileSystemTest
432 fs::createUniqueDirectory("file-system-test", TestDirectory)); in SetUp()
434 errs() << "Test Directory: " << TestDirectory << '\n'; in SetUp()
438 void TearDown() override { ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); } in TearDown()
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()
576 ASSERT_EQ(fs::create_directory(Twine(TestDirectory) + "foo", false), in TEST_F()
578 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "foo")); in TEST_F()
586 fs::create_directory(Twine(TestDirectory) + "baz500", false, 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()
605 size_t TmpLen = TestDirectory.size(); in TEST_F()
610 SmallString<260> LongDir(TestDirectory); in TEST_F()
630 ASSERT_NE(::SetCurrentDirectoryA(TestDirectory.c_str()), 0); in TEST_F()
633 size_t LongDirLen = 249 - TestDirectory.size(); in TEST_F()
656 fs::create_directories(Twine(TestDirectory) + "/recursive/a0/aa1")); in TEST_F()
658 fs::create_directories(Twine(TestDirectory) + "/recursive/a0/ab1")); in TEST_F()
659 ASSERT_NO_ERROR(fs::create_directories(Twine(TestDirectory) + in TEST_F()
662 fs::create_directories(Twine(TestDirectory) + "/recursive/z0/za1")); in TEST_F()
664 fs::create_directories(Twine(TestDirectory) + "/recursive/pop/p1")); in TEST_F()
667 for (fs::recursive_directory_iterator i(Twine(TestDirectory) 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()
711 fs::remove(Twine(TestDirectory) + "/recursive/dontlookhere/da1")); 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()
779 SmallString<128> file_pathname(TestDirectory); in TEST_F()
794 SmallString<128> FilePathname(TestDirectory); in TEST_F()