diff options
author | 2015-07-13 16:18:19 -0700 | |
---|---|---|
committer | 2015-07-13 16:18:19 -0700 | |
commit | 8d9f83016863a4d1b27e21fc372f7df02dbc6537 (patch) | |
tree | 6b1fe01fdd48f03565b1df67c3488d519f379c92 /test/cpp/interop/server_helper.cc | |
parent | 4d0b7427faecfdbb1635c2ab158c922d7511b865 (diff) |
Introduced InteropContextInspector to be able to peek into server contexts during interop testing.
Diffstat (limited to 'test/cpp/interop/server_helper.cc')
-rw-r--r-- | test/cpp/interop/server_helper.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cpp/interop/server_helper.cc b/test/cpp/interop/server_helper.cc index c2e750dcf7..0f8b89ced2 100644 --- a/test/cpp/interop/server_helper.cc +++ b/test/cpp/interop/server_helper.cc @@ -58,5 +58,9 @@ std::shared_ptr<ServerCredentials> CreateInteropServerCredentials() { } } +InteropContextInspector::InteropContextInspector( + const ::grpc::ServerContext& context) + : context_(context) {} + } // namespace testing } // namespace grpc |