diff options
author | Noah Eisen <ncteisen@gmail.com> | 2018-10-26 12:18:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-26 12:18:59 -0700 |
commit | 5cf95f0b52c21e6ebd0a7917d619da7b545d86c7 (patch) | |
tree | 5a01228656365585b46a4022efbdb5c24e18fb1f /test/cpp/util | |
parent | 23449ca12deb8a13f44e8f5e6cb20d1b2fa51a57 (diff) | |
parent | 693f46841a2d91b35ac3c9268b69f9ca33feee81 (diff) |
Merge pull request #16991 from ncteisen/channelz-get-server-core
Channelz part 10: GetServer
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 42a436d49b..ff9d887385 100644 --- a/test/cpp/util/channel_trace_proto_helper.cc +++ b/test/cpp/util/channel_trace_proto_helper.cc @@ -82,6 +82,11 @@ void ValidateGetChannelResponseProtoJsonTranslation(char* json_c_str) { json_c_str); } +void ValidateGetServerResponseProtoJsonTranslation(char* json_c_str) { + VaidateProtoJsonTranslation<grpc::channelz::v1::GetServerResponse>( + json_c_str); +} + void ValidateSubchannelProtoJsonTranslation(char* json_c_str) { VaidateProtoJsonTranslation<grpc::channelz::v1::Subchannel>(json_c_str); } diff --git a/test/cpp/util/channel_trace_proto_helper.h b/test/cpp/util/channel_trace_proto_helper.h index 67c363e89b..4f74e02f10 100644 --- a/test/cpp/util/channel_trace_proto_helper.h +++ b/test/cpp/util/channel_trace_proto_helper.h @@ -26,6 +26,7 @@ void ValidateChannelTraceProtoJsonTranslation(char* json_c_str); void ValidateChannelProtoJsonTranslation(char* json_c_str); void ValidateGetTopChannelsResponseProtoJsonTranslation(char* json_c_str); void ValidateGetChannelResponseProtoJsonTranslation(char* json_c_str); +void ValidateGetServerResponseProtoJsonTranslation(char* json_c_str); void ValidateSubchannelProtoJsonTranslation(char* json_c_str); void ValidateServerProtoJsonTranslation(char* json_c_str); void ValidateGetServersResponseProtoJsonTranslation(char* json_c_str); |