diff options
author | Sree Kuchibhotla <sreek@google.com> | 2018-07-23 10:52:27 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2018-07-23 10:52:27 -0700 |
commit | 7b8be4d6fd0a3b7374d5a28bea1eff319c49fefe (patch) | |
tree | b058501d6776d69a115f6b3e29e2bdd335915ac8 /test/cpp/util | |
parent | ec1c112cc17cd1290a901ca606ac916422d3342c (diff) | |
parent | 53d2899374e74b4185a55e3fc26b64d0a02840a8 (diff) |
Merge branch 'master' into rq-threads
Diffstat (limited to 'test/cpp/util')
-rw-r--r-- | test/cpp/util/channel_trace_proto_helper.cc | 5 | ||||
-rw-r--r-- | test/cpp/util/channel_trace_proto_helper.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/cpp/util/channel_trace_proto_helper.cc b/test/cpp/util/channel_trace_proto_helper.cc index 137f278640..b4704bfe6a 100644 --- a/test/cpp/util/channel_trace_proto_helper.cc +++ b/test/cpp/util/channel_trace_proto_helper.cc @@ -77,5 +77,10 @@ void ValidateGetTopChannelsResponseProtoJsonTranslation(char* json_c_str) { json_c_str); } +void ValidateGetChannelResponseProtoJsonTranslation(char* json_c_str) { + VaidateProtoJsonTranslation<grpc::channelz::v1::GetChannelResponse>( + json_c_str); +} + } // namespace testing } // namespace grpc diff --git a/test/cpp/util/channel_trace_proto_helper.h b/test/cpp/util/channel_trace_proto_helper.h index 74c15f04f1..18e3d54b6b 100644 --- a/test/cpp/util/channel_trace_proto_helper.h +++ b/test/cpp/util/channel_trace_proto_helper.h @@ -25,6 +25,7 @@ namespace testing { void ValidateChannelTraceProtoJsonTranslation(char* json_c_str); void ValidateChannelProtoJsonTranslation(char* json_c_str); void ValidateGetTopChannelsResponseProtoJsonTranslation(char* json_c_str); +void ValidateGetChannelResponseProtoJsonTranslation(char* json_c_str); } // namespace testing } // namespace grpc |