Home
last modified time | relevance | path

Searched refs:gtc_response (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc/test/cpp/end2end/
Dchannelz_service_test.cc379 GetTopChannelsResponse gtc_response; in TEST_F() local
383 channelz_stub_->GetTopChannels(&context, gtc_request, &gtc_response); in TEST_F()
385 EXPECT_EQ(gtc_response.channel_size(), kNumChannels); in TEST_F()
386 for (int i = 0; i < gtc_response.channel_size(); ++i) { in TEST_F()
389 if (gtc_response.channel(i).data().calls_started() == 0) { in TEST_F()
390 EXPECT_EQ(gtc_response.channel(i).subchannel_ref_size(), 0); in TEST_F()
394 ASSERT_GT(gtc_response.channel(i).subchannel_ref_size(), 0); in TEST_F()
398 gtc_response.channel(i).subchannel_ref(0).subchannel_id()); in TEST_F()
403 EXPECT_EQ(gtc_response.channel(i).data().calls_started(), in TEST_F()
405 EXPECT_EQ(gtc_response.channel(i).data().calls_succeeded(), in TEST_F()
[all …]