Gtest C++ - Can we mock the non virtual functions of same class which we are testing

后端 未结 0 553
臣服心动
臣服心动 2020-12-14 00:21

I was trying to do the unit testing in Gtest for the function BaseClass::Start. I have 2 doubts.

While doing Gtest with C++,

1.Can we mock the non virtual func

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