diff options
author | 2016-01-13 22:43:20 -0800 | |
---|---|---|
committer | 2016-01-13 22:43:20 -0800 | |
commit | 5a05f51a1c7de7f17bef1ce904afba67426992bb (patch) | |
tree | 2fe56c74dc5c15055a05b5ca3c83946d29f4daa3 /test/cpp/end2end/streaming_throughput_test.cc | |
parent | 16a7dee6141785092ee2aae4a11d2e9f590a1847 (diff) |
Rename TestService to EchoTestService to prevent name-conflict with
'TestService' in test.proto
Diffstat (limited to 'test/cpp/end2end/streaming_throughput_test.cc')
-rw-r--r-- | test/cpp/end2end/streaming_throughput_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cpp/end2end/streaming_throughput_test.cc b/test/cpp/end2end/streaming_throughput_test.cc index ca563472a7..61fdbe15ae 100644 --- a/test/cpp/end2end/streaming_throughput_test.cc +++ b/test/cpp/end2end/streaming_throughput_test.cc @@ -99,7 +99,7 @@ const char* kLargeString = namespace grpc { namespace testing { -class TestServiceImpl : public ::grpc::testing::TestService::Service { +class TestServiceImpl : public ::grpc::testing::EchoTestService::Service { public: static void BidiStream_Sender( ServerReaderWriter<EchoResponse, EchoRequest>* stream, @@ -161,10 +161,10 @@ class End2endTest : public ::testing::Test { void ResetStub() { std::shared_ptr<Channel> channel = CreateChannel(server_address_.str(), InsecureChannelCredentials()); - stub_ = grpc::testing::TestService::NewStub(channel); + stub_ = grpc::testing::EchoTestService::NewStub(channel); } - std::unique_ptr<grpc::testing::TestService::Stub> stub_; + std::unique_ptr<grpc::testing::EchoTestService::Stub> stub_; std::unique_ptr<Server> server_; std::ostringstream server_address_; TestServiceImpl service_; |