reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/Support/ReplaceFileTest.cpp
   81   path::append(TargetFileName, "target");
   84   ASSERT_NO_ERROR(CreateFileWithContent(TargetFileName, "!!target!!"));
   89     ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, ReadFD));
   93     EXPECT_TRUE(!fs::rename(SourceFileName, TargetFileName));
  105   EXPECT_TRUE(FileHasContent(TargetFileName, "!!source!!"));
  109   EXPECT_TRUE(!fs::rename(TargetFileName, SourceFileName));
  110   EXPECT_FALSE(fs::exists(TargetFileName));