aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/grpc/test/cpp/end2end/proto_server_reflection_test.cc
diff options
context:
space:
mode:
authorheretic <heretic@yandex-team.ru>2022-02-10 16:45:43 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:43 +0300
commit397cbe258b9e064f49c4ca575279f02f39fef76e (patch)
treea0b0eb3cca6a14e4e8ea715393637672fa651284 /contrib/libs/grpc/test/cpp/end2end/proto_server_reflection_test.cc
parent43f5a35593ebc9f6bcea619bb170394ea7ae468e (diff)
downloadydb-397cbe258b9e064f49c4ca575279f02f39fef76e.tar.gz
Restoring authorship annotation for <heretic@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/grpc/test/cpp/end2end/proto_server_reflection_test.cc')
-rw-r--r--contrib/libs/grpc/test/cpp/end2end/proto_server_reflection_test.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/libs/grpc/test/cpp/end2end/proto_server_reflection_test.cc b/contrib/libs/grpc/test/cpp/end2end/proto_server_reflection_test.cc
index d79b33da70..db14932d0c 100644
--- a/contrib/libs/grpc/test/cpp/end2end/proto_server_reflection_test.cc
+++ b/contrib/libs/grpc/test/cpp/end2end/proto_server_reflection_test.cc
@@ -47,7 +47,7 @@ class ProtoServerReflectionTest : public ::testing::Test {
ref_desc_pool_ = protobuf::DescriptorPool::generated_pool();
ServerBuilder builder;
- TString server_address = "localhost:" + to_string(port_);
+ TString server_address = "localhost:" + to_string(port_);
builder.AddListeningPort(server_address, InsecureServerCredentials());
server_ = builder.BuildAndStart();
}
@@ -67,7 +67,7 @@ class ProtoServerReflectionTest : public ::testing::Test {
return strs.str();
}
- void CompareService(const TString& service) {
+ void CompareService(const TString& service) {
const protobuf::ServiceDescriptor* service_desc =
desc_pool_->FindServiceByName(service);
const protobuf::ServiceDescriptor* ref_service_desc =
@@ -89,7 +89,7 @@ class ProtoServerReflectionTest : public ::testing::Test {
}
}
- void CompareMethod(const TString& method) {
+ void CompareMethod(const TString& method) {
const protobuf::MethodDescriptor* method_desc =
desc_pool_->FindMethodByName(method);
const protobuf::MethodDescriptor* ref_method_desc =
@@ -102,7 +102,7 @@ class ProtoServerReflectionTest : public ::testing::Test {
CompareType(method_desc->output_type()->full_name());
}
- void CompareType(const TString& type) {
+ void CompareType(const TString& type) {
if (known_types_.find(type) != known_types_.end()) {
return;
}
@@ -130,7 +130,7 @@ class ProtoServerReflectionTest : public ::testing::Test {
TEST_F(ProtoServerReflectionTest, CheckResponseWithLocalDescriptorPool) {
ResetStub();
- std::vector<TString> services;
+ std::vector<TString> services;
desc_db_->GetServices(&services);
// The service list has at least one service (reflection servcie).
EXPECT_TRUE(services.size() > 0);