diff options
author | heretic <heretic@yandex-team.ru> | 2022-02-10 16:45:46 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:46 +0300 |
commit | 81eddc8c0b55990194e112b02d127b87d54164a9 (patch) | |
tree | 9142afc54d335ea52910662635b898e79e192e49 /contrib/libs/grpc/test/cpp/end2end/server_builder_plugin_test.cc | |
parent | 397cbe258b9e064f49c4ca575279f02f39fef76e (diff) | |
download | ydb-81eddc8c0b55990194e112b02d127b87d54164a9.tar.gz |
Restoring authorship annotation for <heretic@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/grpc/test/cpp/end2end/server_builder_plugin_test.cc')
-rw-r--r-- | contrib/libs/grpc/test/cpp/end2end/server_builder_plugin_test.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/libs/grpc/test/cpp/end2end/server_builder_plugin_test.cc b/contrib/libs/grpc/test/cpp/end2end/server_builder_plugin_test.cc index 4adbb0e506..004902cad3 100644 --- a/contrib/libs/grpc/test/cpp/end2end/server_builder_plugin_test.cc +++ b/contrib/libs/grpc/test/cpp/end2end/server_builder_plugin_test.cc @@ -52,7 +52,7 @@ class TestServerBuilderPlugin : public ServerBuilderPlugin { register_service_ = false; } - TString name() override { return PLUGIN_NAME; } + TString name() override { return PLUGIN_NAME; } void InitServer(ServerInitializer* si) override { init_server_is_called_ = true; @@ -63,7 +63,7 @@ class TestServerBuilderPlugin : public ServerBuilderPlugin { void Finish(ServerInitializer* /*si*/) override { finish_is_called_ = true; } - void ChangeArguments(const TString& /*name*/, void* /*value*/) override { + void ChangeArguments(const TString& /*name*/, void* /*value*/) override { change_arguments_is_called_ = true; } @@ -123,10 +123,10 @@ std::unique_ptr<ServerBuilderPlugin> CreateTestServerBuilderPlugin() { // Force AddServerBuilderPlugin() to be called at static initialization time. struct StaticTestPluginInitializer { - StaticTestPluginInitializer() { - ::grpc::ServerBuilder::InternalAddPluginFactory( - &CreateTestServerBuilderPlugin); - } + StaticTestPluginInitializer() { + ::grpc::ServerBuilder::InternalAddPluginFactory( + &CreateTestServerBuilderPlugin); + } } static_plugin_initializer_test_; // When the param boolean is true, the ServerBuilder plugin will be added at the @@ -168,7 +168,7 @@ class ServerBuilderPluginTest : public ::testing::TestWithParam<bool> { } void StartServer() { - TString server_address = "localhost:" + to_string(port_); + TString server_address = "localhost:" + to_string(port_); builder_->AddListeningPort(server_address, InsecureServerCredentials()); // we run some tests without a service, and for those we need to supply a // frequently polled completion queue |