Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Google Mock 是否计算在被测对象的析构函数中对模拟函数的调用?
是的!
我对此进行了测试,并且确实在析构函数中调用了模拟函数,即你应该 EXPECT_CALL() 他们......