aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end/client_crash_test_server.cc
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-12-17 16:35:00 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-12-17 16:35:00 -0800
commit1b4e33029efc2dd57036270bd3a73b6841aadbf5 (patch)
tree1c08b443d17af452ad9cf78320154142a77df757 /test/cpp/end2end/client_crash_test_server.cc
parent2dd2e895d9c783f7247bbe70be692118f964532b (diff)
Consolidate C++ proto files under src/proto
- make the directory structure match the package structure - sanitize the package structure (test --> testing) - add auto-detection of proto file dependencies
Diffstat (limited to 'test/cpp/end2end/client_crash_test_server.cc')
-rw-r--r--test/cpp/end2end/client_crash_test_server.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/cpp/end2end/client_crash_test_server.cc b/test/cpp/end2end/client_crash_test_server.cc
index 7ffeecca70..f9a9c187a7 100644
--- a/test/cpp/end2end/client_crash_test_server.cc
+++ b/test/cpp/end2end/client_crash_test_server.cc
@@ -39,12 +39,12 @@
#include <grpc++/server.h>
#include <grpc++/server_builder.h>
#include <grpc++/server_context.h>
-#include "test/cpp/util/echo.grpc.pb.h"
+#include "src/proto/grpc/testing/echo.grpc.pb.h"
DEFINE_string(address, "", "Address to bind to");
-using grpc::cpp::test::util::EchoRequest;
-using grpc::cpp::test::util::EchoResponse;
+using grpc::testing::EchoRequest;
+using grpc::testing::EchoResponse;
// In some distros, gflags is in the namespace google, and in some others,
// in gflags. This hack is enabling us to find both.
@@ -56,8 +56,7 @@ using namespace gflags;
namespace grpc {
namespace testing {
-class ServiceImpl GRPC_FINAL
- : public ::grpc::cpp::test::util::TestService::Service {
+class ServiceImpl GRPC_FINAL : public ::grpc::testing::TestService::Service {
Status BidiStream(ServerContext* context,
ServerReaderWriter<EchoResponse, EchoRequest>* stream)
GRPC_OVERRIDE {