You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does MOCKER(func) is a good way to use insead of mocker name?
If you need write EXPECT_CALL many times it seems not friendly, you need write MOCKER(func) many time.
But if you just write EXPECT_CALL once, an anonymous object is better.
Such as:
MOCK(func); // instead of CREATE_MOCKER(mocker, func);
EXPECT_CALL(MOCKER(func), MOCKER_FUNCTION(...)).Times(...);
The text was updated successfully, but these errors were encountered: