Home
last modified time | relevance | path

Searched refs:TestDirectory (Results 1 – 5 of 5) sorted by relevance

/external/llvm/unittests/Support/
DPath.cpp428 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()
[all …]
DFileOutputBufferTest.cpp32 SmallString<128> TestDirectory; in TEST() local
35 fs::createUniqueDirectory("FileOutputBuffer-test", TestDirectory)); in TEST()
39 SmallString<128> File1(TestDirectory); in TEST()
61 SmallString<128> File2(TestDirectory); in TEST()
78 SmallString<128> File3(TestDirectory); in TEST()
99 SmallString<128> File4(TestDirectory); in TEST()
119 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST()
DProgramTest.cpp140 SmallString<128> TestDirectory; in TEST_F() local
142 fs::createUniqueDirectory("program-redirect-test", TestDirectory)); in TEST_F()
143 SmallString<256> LongPath(TestDirectory); in TEST_F()
146 LongPath.append(260 - TestDirectory.size(), 'a'); in TEST_F()
160 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory))); in TEST_F()
324 SmallString<128> TestDirectory; in TEST() local
325 ASSERT_NO_ERROR(fs::createUniqueDirectory("program-test", TestDirectory)); in TEST()
326 errs() << "Test Directory: " << TestDirectory << '\n'; in TEST()
328 SmallString<128> file_pathname(TestDirectory); in TEST()
352 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST()
DReplaceFileTest.cpp57 SmallString<128> TestDirectory; in TEST() local
59 "FileOpenedForReadingCanBeReplaced-test", TestDirectory)); in TEST()
62 SmallString<128> SourceFileName(TestDirectory); in TEST()
65 SmallString<128> TargetFileName(TestDirectory); in TEST()
110 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST()
/external/clang/unittests/Basic/
DVirtualFileSystemTest.cpp307 ScopedDir TestDirectory("virtual-file-system-test", /*Unique*/true); in TEST() local
311 vfs::directory_iterator I = FS->dir_begin(Twine(TestDirectory), EC); in TEST()
315 ScopedDir _a(TestDirectory+"/a"); in TEST()
316 ScopedDir _ab(TestDirectory+"/a/b"); in TEST()
317 ScopedDir _c(TestDirectory+"/c"); in TEST()
318 ScopedDir _cd(TestDirectory+"/c/d"); in TEST()
320 I = FS->dir_begin(Twine(TestDirectory), EC); in TEST()
334 ScopedDir TestDirectory("virtual-file-system-test", /*Unique*/true); in TEST() local
338 auto I = vfs::recursive_directory_iterator(*FS, Twine(TestDirectory), EC); in TEST()
342 ScopedDir _a(TestDirectory+"/a"); in TEST()
[all …]