aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/fs_ut.cpp
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:15 +0300
commit72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch)
treeda2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /util/system/fs_ut.cpp
parent778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff)
downloadydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/fs_ut.cpp')
-rw-r--r--util/system/fs_ut.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/util/system/fs_ut.cpp b/util/system/fs_ut.cpp
index de071ebf55..e27a52d73a 100644
--- a/util/system/fs_ut.cpp
+++ b/util/system/fs_ut.cpp
@@ -2,9 +2,9 @@
#include <library/cpp/testing/unittest/registar.h>
-#include "file.h"
-#include "sysstat.h"
-#include "fstat.h"
+#include "file.h"
+#include "sysstat.h"
+#include "fstat.h"
#include <util/folder/dirut.h>
#include <util/folder/path.h>
@@ -14,16 +14,16 @@ class TFsTest: public TTestBase {
UNIT_TEST_SUITE(TFsTest);
UNIT_TEST(TestCreateRemove);
UNIT_TEST(TestRename);
- UNIT_TEST(TestSymlink);
+ UNIT_TEST(TestSymlink);
UNIT_TEST(TestHardlink);
UNIT_TEST(TestCwdOpts);
UNIT_TEST(TestEnsureExists);
UNIT_TEST_SUITE_END();
-
-public:
+
+public:
void TestCreateRemove();
void TestRename();
- void TestSymlink();
+ void TestSymlink();
void TestHardlink();
void TestCwdOpts();
void TestEnsureExists();
@@ -96,7 +96,7 @@ void TFsTest::TestCreateRemove() {
UNIT_ASSERT(!NFs::Exists(dir1));
}
-void RunRenameTest(TFsPath src, TFsPath dst) {
+void RunRenameTest(TFsPath src, TFsPath dst) {
// if previous running was failed
TFsPath dir1 = "dir";
TFsPath dir2 = "dst_dir";
@@ -144,7 +144,7 @@ void RunRenameTest(TFsPath src, TFsPath dst) {
UNIT_ASSERT(NFs::Remove(dir2));
}
-void TFsTest::TestRename() {
+void TFsTest::TestRename() {
RunRenameTest("src.txt", "dst.txt");
RunRenameTest("src_абвг.txt", "dst_абвг.txt");
}
@@ -276,7 +276,7 @@ static void RunSymLinkTest(TString fileLocalName, TString symLinkName) {
UNIT_ASSERT(NFs::Remove(subDir));
}
-void TFsTest::TestSymlink() {
+void TFsTest::TestSymlink() {
// if previous running was failed
RunSymLinkTest("f.txt", "fl.txt");
RunSymLinkTest("f_абвг.txt", "fl_абвг.txt"); //utf-8 names