MCPcopy Create free account
hub / github.com/apache/brpc / Map

Method Map

test/brpc_channel_unittest.cpp:2480–2485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2478
2479class BadCall : public brpc::CallMapper {
2480 brpc::SubCall Map(int,
2481 const google::protobuf::MethodDescriptor*,
2482 const google::protobuf::Message*,
2483 google::protobuf::Message*) override {
2484 return brpc::SubCall::Bad();
2485 }
2486};
2487
2488TEST_F(ChannelTest, returns_bad_parallel) {

Callers 4

ThreadMainMethod · 0.45
ThreadMainMethod · 0.45
TESTFunction · 0.45
TaskTestMainMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected