mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-21 02:25:13 +00:00
Rename fs::GetUniqueID to fs::getUniqueID to match the style guide.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184431 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -173,8 +173,8 @@ TEST_F(FileSystemTest, Unique) {
|
||||
|
||||
// The same file should return an identical unique id.
|
||||
uint64_t F1, F2;
|
||||
ASSERT_NO_ERROR(fs::GetUniqueID(Twine(TempPath), F1));
|
||||
ASSERT_NO_ERROR(fs::GetUniqueID(Twine(TempPath), F2));
|
||||
ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1));
|
||||
ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2));
|
||||
ASSERT_EQ(F1, F2);
|
||||
|
||||
// Different files should return different unique ids.
|
||||
@@ -184,7 +184,7 @@ TEST_F(FileSystemTest, Unique) {
|
||||
fs::unique_file("%%-%%-%%-%%.temp", FileDescriptor2, TempPath2));
|
||||
|
||||
uint64_t D;
|
||||
ASSERT_NO_ERROR(fs::GetUniqueID(Twine(TempPath2), D));
|
||||
ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D));
|
||||
ASSERT_NE(D, F1);
|
||||
::close(FileDescriptor2);
|
||||
|
||||
@@ -194,7 +194,7 @@ TEST_F(FileSystemTest, Unique) {
|
||||
// same unique id. We can test this by making a hard link.
|
||||
ASSERT_NO_ERROR(fs::create_hard_link(Twine(TempPath), Twine(TempPath2)));
|
||||
uint64_t D2;
|
||||
ASSERT_NO_ERROR(fs::GetUniqueID(Twine(TempPath2), D2));
|
||||
ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D2));
|
||||
ASSERT_EQ(D2, F1);
|
||||
|
||||
::close(FileDescriptor);
|
||||
|
Reference in New Issue
Block a user