aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/rain_check/test/helper
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:15 +0300
commit72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch)
treeda2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /library/cpp/messagebus/rain_check/test/helper
parent778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff)
downloadydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/messagebus/rain_check/test/helper')
-rw-r--r--library/cpp/messagebus/rain_check/test/helper/misc.cpp6
-rw-r--r--library/cpp/messagebus/rain_check/test/helper/misc.h20
2 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/messagebus/rain_check/test/helper/misc.cpp b/library/cpp/messagebus/rain_check/test/helper/misc.cpp
index c0fcb27252..b176878cab 100644
--- a/library/cpp/messagebus/rain_check/test/helper/misc.cpp
+++ b/library/cpp/messagebus/rain_check/test/helper/misc.cpp
@@ -4,7 +4,7 @@
using namespace NRainCheck;
-void TSpawnNopTasksCoroTask::Run() {
+void TSpawnNopTasksCoroTask::Run() {
Y_VERIFY(Count <= Completion.size());
for (unsigned i = 0; i < Count; ++i) {
SpawnSubtask<TNopCoroTask>(Env, &Completion[i], "");
@@ -13,7 +13,7 @@ void TSpawnNopTasksCoroTask::Run() {
WaitForSubtasks();
}
-TContinueFunc TSpawnNopTasksSimpleTask::Start() {
+TContinueFunc TSpawnNopTasksSimpleTask::Start() {
Y_VERIFY(Count <= Completion.size());
for (unsigned i = 0; i < Count; ++i) {
SpawnSubtask<TNopSimpleTask>(Env, &Completion[i], "");
@@ -22,6 +22,6 @@ TContinueFunc TSpawnNopTasksSimpleTask::Start() {
return &TSpawnNopTasksSimpleTask::Join;
}
-TContinueFunc TSpawnNopTasksSimpleTask::Join() {
+TContinueFunc TSpawnNopTasksSimpleTask::Join() {
return nullptr;
}
diff --git a/library/cpp/messagebus/rain_check/test/helper/misc.h b/library/cpp/messagebus/rain_check/test/helper/misc.h
index 9150be4d2f..5d8648462d 100644
--- a/library/cpp/messagebus/rain_check/test/helper/misc.h
+++ b/library/cpp/messagebus/rain_check/test/helper/misc.h
@@ -6,8 +6,8 @@
namespace NRainCheck {
struct TNopSimpleTask: public ISimpleTask {
- TNopSimpleTask(IEnv*, const void*) {
- }
+ TNopSimpleTask(IEnv*, const void*) {
+ }
TContinueFunc Start() override {
return nullptr;
@@ -15,11 +15,11 @@ namespace NRainCheck {
};
struct TNopCoroTask: public ICoroTask {
- TNopCoroTask(IEnv*, const void*) {
- }
+ TNopCoroTask(IEnv*, const void*) {
+ }
- void Run() override {
- }
+ void Run() override {
+ }
};
struct TSpawnNopTasksCoroTask: public ICoroTask {
@@ -29,8 +29,8 @@ namespace NRainCheck {
TSpawnNopTasksCoroTask(IEnv* env, unsigned count)
: Env(env)
, Count(count)
- {
- }
+ {
+ }
std::array<TSubtaskCompletion, 2> Completion;
@@ -44,8 +44,8 @@ namespace NRainCheck {
TSpawnNopTasksSimpleTask(IEnv* env, unsigned count)
: Env(env)
, Count(count)
- {
- }
+ {
+ }
std::array<TSubtaskCompletion, 2> Completion;