diff options
author | Alexander Fokin <apfokin@gmail.com> | 2022-02-10 16:45:38 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:38 +0300 |
commit | bf9e69a933f89af083d895185f01ed65e4d90766 (patch) | |
tree | b2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /library/cpp/messagebus/test/helper | |
parent | 863a59a65247c24db7cb06789bc5cf79d04da32f (diff) | |
download | ydb-bf9e69a933f89af083d895185f01ed65e4d90766.tar.gz |
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/test/helper')
-rw-r--r-- | library/cpp/messagebus/test/helper/example.cpp | 6 | ||||
-rw-r--r-- | library/cpp/messagebus/test/helper/object_count_check.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/messagebus/test/helper/example.cpp b/library/cpp/messagebus/test/helper/example.cpp index a488f96493..7c6d704042 100644 --- a/library/cpp/messagebus/test/helper/example.cpp +++ b/library/cpp/messagebus/test/helper/example.cpp @@ -7,7 +7,7 @@ using namespace NBus; using namespace NBus::NTest; -static void FillWithJunk(TArrayRef<char> data) { +static void FillWithJunk(TArrayRef<char> data) { TStringBuf junk = "01234567890123456789012345678901234567890123456789012345678901234567890123456789" "01234567890123456789012345678901234567890123456789012345678901234567890123456789" @@ -21,7 +21,7 @@ static void FillWithJunk(TArrayRef<char> data) { static TString JunkString(size_t len) { TTempBuf temp(len); - TArrayRef<char> tempArrayRef(temp.Data(), len); + TArrayRef<char> tempArrayRef(temp.Data(), len); FillWithJunk(tempArrayRef); return TString(tempArrayRef.data(), tempArrayRef.size()); @@ -87,7 +87,7 @@ void TExampleProtocol::Serialize(const TBusMessage* message, TBuffer& buffer) { } } -TAutoPtr<TBusMessage> TExampleProtocol::Deserialize(ui16 messageType, TArrayRef<const char> payload) { +TAutoPtr<TBusMessage> TExampleProtocol::Deserialize(ui16 messageType, TArrayRef<const char> payload) { // TODO: check data Y_UNUSED(payload); diff --git a/library/cpp/messagebus/test/helper/object_count_check.h b/library/cpp/messagebus/test/helper/object_count_check.h index 1bc3f90917..1c4756e58c 100644 --- a/library/cpp/messagebus/test/helper/object_count_check.h +++ b/library/cpp/messagebus/test/helper/object_count_check.h @@ -10,7 +10,7 @@ #include <library/cpp/messagebus/oldmodule/module.h> #include <library/cpp/messagebus/scheduler/scheduler.h> -#include <util/generic/object_counter.h> +#include <util/generic/object_counter.h> #include <util/system/type_name.h> #include <util/stream/output.h> @@ -29,7 +29,7 @@ struct TObjectCountCheck { } void operator()() { - long oldValue = TObjectCounter<T>::ResetObjectCount(); + long oldValue = TObjectCounter<T>::ResetObjectCount(); if (oldValue != 0) { Cerr << "warning: previous counter: " << oldValue << " for " << TypeName<T>() << Endl; Cerr << "won't check in this test" << Endl; |