diff options
author | onpopov <onpopov@yandex-team.ru> | 2022-02-10 16:50:38 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:38 +0300 |
commit | 84a29dd4980d5b39615e453f289bd1a81213296d (patch) | |
tree | 5e320f10d6b5863e0d5ab1a8caa9eefbdaa5195f /util/system/getpid_ut.cpp | |
parent | 1717072c6635948128dad7b015a0ec05acbe913b (diff) | |
download | ydb-84a29dd4980d5b39615e453f289bd1a81213296d.tar.gz |
Restoring authorship annotation for <onpopov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/getpid_ut.cpp')
-rw-r--r-- | util/system/getpid_ut.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/util/system/getpid_ut.cpp b/util/system/getpid_ut.cpp index e7122a2971..149e7f2082 100644 --- a/util/system/getpid_ut.cpp +++ b/util/system/getpid_ut.cpp @@ -1,19 +1,19 @@ -#include "getpid.h" - +#include "getpid.h" + #include <library/cpp/testing/unittest/registar.h> - -class TGetPidTest: public TTestBase { - UNIT_TEST_SUITE(TGetPidTest); - UNIT_TEST(Test); - UNIT_TEST_SUITE_END(); - -public: - void Test(); -}; - -UNIT_TEST_SUITE_REGISTRATION(TGetPidTest); - -void TGetPidTest::Test() { + +class TGetPidTest: public TTestBase { + UNIT_TEST_SUITE(TGetPidTest); + UNIT_TEST(Test); + UNIT_TEST_SUITE_END(); + +public: + void Test(); +}; + +UNIT_TEST_SUITE_REGISTRATION(TGetPidTest); + +void TGetPidTest::Test() { const TProcessId pid = GetPID(); - UNIT_ASSERT(pid != 0); -} + UNIT_ASSERT(pid != 0); +} |