fake/mock nonvirtual C++ methods without changing the production code

后端 未结 0 1319
轮回少年
轮回少年 2021-02-14 03:20

I am unit testing a c++ class and using google test and Gmock framework. For an example - I have a class which has non virtual functions and i want to mock these two function wh

相关标签:
回答
  • 消灭零回复
提交回复
热议问题