TousakaRin commented on issue #2460:
URL: https://github.com/apache/brpc/issues/2460#issuecomment-1870791629

   gmock应该是可以把 channel 的 CallMethod 直接 mock 掉,替换成你想要的逻辑。但是这样的话可能会对代码有入侵(即用于 rpc 
的 channel 是从外部传递进来的)。 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to