diff options
| author | Alexander Fokin <[email protected]> | 2022-02-10 16:45:38 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:38 +0300 |
| commit | 863a59a65247c24db7cb06789bc5cf79d04da32f (patch) | |
| tree | 139dc000c8cd4a40f5659e421b7c75135d080307 /library/cpp/messagebus/test/helper | |
| parent | f64e95a9eb9ab03240599eb9581c5a9102426a96 (diff) | |
Restoring authorship annotation for Alexander Fokin <[email protected]>. Commit 1 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 7c6d704042c..a488f964933 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 1c4756e58c1..1bc3f909171 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; |
