A test-only class to access private members of Channel. More...
#include <channel_test_peer.h>
Public Member Functions | |
grpc_channel * | channel () const |
Provide the gRPC Core channel. More... | |
ChannelTestPeer (Channel *channel) | |
int | registered_calls () const |
int | registration_attempts () const |
Private Attributes | |
Channel * | channel_ |
A test-only class to access private members of Channel.
Definition at line 28 of file channel_test_peer.h.
|
inlineexplicit |
Definition at line 30 of file channel_test_peer.h.
|
inline |
Provide the gRPC Core channel.
Definition at line 33 of file channel_test_peer.h.
int grpc::testing::ChannelTestPeer::registered_calls | ( | ) | const |
Definition at line 27 of file channel_test_peer.cc.
int grpc::testing::ChannelTestPeer::registration_attempts | ( | ) | const |
Definition at line 32 of file channel_test_peer.cc.
|
private |
Definition at line 38 of file channel_test_peer.h.