开发者

Does Google Mock count calls to mocked functions in destructor?

Does Google Mock count calls to mocked functions that occur in the开发者_如何学JAVA destructor of the object under test?


Yes!

I tested this and indeed calls to mocked functions within the destructor do count, i.e. you should EXPECT_CALL() them...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜