diff options
author | Vasily Gerasimov <UgnineSirdis@gmail.com> | 2022-02-10 16:49:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:10 +0300 |
commit | 1eb755fbca92172a6aec2f57371b2b3a19dfab43 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/testing/unittest/tests_data.h | |
parent | 6cdc8f140213c595e4ad38bc3d97fcef1146b8c3 (diff) | |
download | ydb-1eb755fbca92172a6aec2f57371b2b3a19dfab43.tar.gz |
Restoring authorship annotation for Vasily Gerasimov <UgnineSirdis@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/testing/unittest/tests_data.h')
-rw-r--r-- | library/cpp/testing/unittest/tests_data.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/testing/unittest/tests_data.h b/library/cpp/testing/unittest/tests_data.h index fcc56520bd..6536bc1ae6 100644 --- a/library/cpp/testing/unittest/tests_data.h +++ b/library/cpp/testing/unittest/tests_data.h @@ -31,19 +31,19 @@ class TPortManager: public TNonCopyable { public: TPortManager(bool reservePortsForCurrentTest = true); ~TPortManager(); - - // Gets free TCP port + + // Gets free TCP port ui16 GetPort(ui16 port = 0); - // Gets free TCP port - ui16 GetTcpPort(ui16 port = 0); - - // Gets free UDP port - ui16 GetUdpPort(ui16 port = 0); - - // Gets one free port for use in both TCP and UDP protocols - ui16 GetTcpAndUdpPort(ui16 port = 0); - + // Gets free TCP port + ui16 GetTcpPort(ui16 port = 0); + + // Gets free UDP port + ui16 GetUdpPort(ui16 port = 0); + + // Gets one free port for use in both TCP and UDP protocols + ui16 GetTcpAndUdpPort(ui16 port = 0); + ui16 GetPortsRange(const ui16 startPort, const ui16 range); private: |