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/plugin.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/plugin.h')
-rw-r--r-- | library/cpp/testing/unittest/plugin.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/library/cpp/testing/unittest/plugin.h b/library/cpp/testing/unittest/plugin.h index 7cce973c78..102f2c1469 100644 --- a/library/cpp/testing/unittest/plugin.h +++ b/library/cpp/testing/unittest/plugin.h @@ -1,29 +1,29 @@ -#pragma once - -#include <util/generic/ptr.h> - -namespace NUnitTest { +#pragma once + +#include <util/generic/ptr.h> + +namespace NUnitTest { // Plugins are deprecated, please use Y_TEST_HOOK_* from library/cpp/hook/hook.h - namespace NPlugin { - class IPlugin { - public: - virtual ~IPlugin() { - } - - virtual void OnStartMain(int /*argc*/, char* /*argv*/ []) { - } - - virtual void OnStopMain(int /*argc*/, char* /*argv*/ []) { - } - }; - - void OnStartMain(int argc, char* argv[]); - void OnStopMain(int argc, char* argv[]); - - class TPluginRegistrator { - public: - TPluginRegistrator(TSimpleSharedPtr<IPlugin> plugin); - }; - + namespace NPlugin { + class IPlugin { + public: + virtual ~IPlugin() { + } + + virtual void OnStartMain(int /*argc*/, char* /*argv*/ []) { + } + + virtual void OnStopMain(int /*argc*/, char* /*argv*/ []) { + } + }; + + void OnStartMain(int argc, char* argv[]); + void OnStopMain(int argc, char* argv[]); + + class TPluginRegistrator { + public: + TPluginRegistrator(TSimpleSharedPtr<IPlugin> plugin); + }; + } } |