Searched refs:TargetFileName (Results 1 – 1 of 1) sorted by relevance
/external/llvm/unittests/Support/ |
D | ReplaceFileTest.cpp | 65 SmallString<128> TargetFileName(TestDirectory); in TEST() local 66 path::append(TargetFileName, "target"); in TEST() 69 ASSERT_NO_ERROR(CreateFileWithContent(TargetFileName, "!!target!!")); in TEST() 74 ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, ReadFD)); in TEST() 78 EXPECT_TRUE(!fs::rename(SourceFileName, TargetFileName)); in TEST() 82 auto Buffer = MemoryBuffer::getOpenFile(ReadFD, TargetFileName, -1); in TEST() 94 ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, ReadFD)); in TEST() 96 auto Buffer = MemoryBuffer::getOpenFile(ReadFD, TargetFileName, -1); in TEST() 104 EXPECT_TRUE(!fs::rename(TargetFileName, SourceFileName)); in TEST() 105 EXPECT_FALSE(fs::exists(TargetFileName)); in TEST()
|