diff options
author | iaz1607 <iaz1607@yandex-team.ru> | 2022-02-10 16:45:37 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:37 +0300 |
commit | 94e51c602b555459333b3c6ae92476c424c930bc (patch) | |
tree | b2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /util/system/event_ut.cpp | |
parent | e5437feb4ac2d2dc044e1090b9312dde5ef197e0 (diff) | |
download | ydb-94e51c602b555459333b3c6ae92476c424c930bc.tar.gz |
Restoring authorship annotation for <iaz1607@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/event_ut.cpp')
-rw-r--r-- | util/system/event_ut.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/system/event_ut.cpp b/util/system/event_ut.cpp index ad7bfcb7da..2506cb7a91 100644 --- a/util/system/event_ut.cpp +++ b/util/system/event_ut.cpp @@ -50,16 +50,16 @@ namespace { class TSignalTask: public IObjectInQueue { private: - TManualEvent& Ev_; + TManualEvent& Ev_; public: - TSignalTask(TManualEvent& ev) - : Ev_(ev) + TSignalTask(TManualEvent& ev) + : Ev_(ev) { } void Process(void*) override { - Ev_.Signal(); + Ev_.Signal(); } }; @@ -103,7 +103,7 @@ Y_UNIT_TEST_SUITE(EventTest) { queue.Start(limit); TVector<THolder<IObjectInQueue>> tasks; for (size_t i = 0; i < limit; ++i) { - tasks.emplace_back(MakeHolder<TSignalTask>(event[i])); + tasks.emplace_back(MakeHolder<TSignalTask>(event[i])); UNIT_ASSERT(queue.Add(tasks.back().Get())); } for (size_t i = limit; i != 0; --i) { @@ -118,7 +118,7 @@ Y_UNIT_TEST_SUITE(EventTest) { TVector<THolder<IObjectInQueue>> tasks; for (size_t i = 0; i < 1000; ++i) { auto owner = MakeHolder<TOwnerTask>(); - tasks.emplace_back(MakeHolder<TSignalTask>(*owner->Ev)); + tasks.emplace_back(MakeHolder<TSignalTask>(*owner->Ev)); tasks.emplace_back(std::move(owner)); } |