You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
I have a server streaming service. Want to write UTs for the C++ client that uses aync callback APIs using gmocks. I have mocked the
Service::StubInterface::async_interface and
GrpcEndpointInfoService::StubInterface so that when I call the stub->async->method I call the mocked function. However, how do I prevent the StartCall from being called. Witouth the actual reactor being ever passed to gRPC stack, calling StartCall Crashes my UT.
Any example of how to write UT for the client side for c++ callback APIS witout writing th server would be super useful