aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/util/channel_trace_proto_helper.cc
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-07-13 14:05:27 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2018-07-16 23:29:29 -0700
commit97066fd0e46a82ffa6b012117cfd428888d255f3 (patch)
tree73c07c3854289064479f89cf9b88046280131eac /test/cpp/util/channel_trace_proto_helper.cc
parent9a6c722e301be70715fa4f16cea22d172d605615 (diff)
Support for GetTopChannels
Diffstat (limited to 'test/cpp/util/channel_trace_proto_helper.cc')
-rw-r--r--test/cpp/util/channel_trace_proto_helper.cc14
1 files changed, 9 insertions, 5 deletions
diff --git a/test/cpp/util/channel_trace_proto_helper.cc b/test/cpp/util/channel_trace_proto_helper.cc
index ee310784c2..137f278640 100644
--- a/test/cpp/util/channel_trace_proto_helper.cc
+++ b/test/cpp/util/channel_trace_proto_helper.cc
@@ -64,13 +64,17 @@ void VaidateProtoJsonTranslation(char* json_c_str) {
} // namespace
-void ValidateChannelTraceProtoJsonTranslation(char* tracer_json_c_str) {
- VaidateProtoJsonTranslation<grpc::channelz::v1::ChannelTrace>(
- tracer_json_c_str);
+void ValidateChannelTraceProtoJsonTranslation(char* json_c_str) {
+ VaidateProtoJsonTranslation<grpc::channelz::v1::ChannelTrace>(json_c_str);
}
-void ValidateChannelProtoJsonTranslation(char* channel_json_c_str) {
- VaidateProtoJsonTranslation<grpc::channelz::v1::Channel>(channel_json_c_str);
+void ValidateChannelProtoJsonTranslation(char* json_c_str) {
+ VaidateProtoJsonTranslation<grpc::channelz::v1::Channel>(json_c_str);
+}
+
+void ValidateGetTopChannelsResponseProtoJsonTranslation(char* json_c_str) {
+ VaidateProtoJsonTranslation<grpc::channelz::v1::GetTopChannelsResponse>(
+ json_c_str);
}
} // namespace testing