We already have functions for manually verifying a
single mock:
bool Mock::VerifyAndClearExpectations(&mock_obj);
bool Mock::VerifyAndClear(&mock_obj);
(See
http://code.google.com/p/googlemock/wiki/CheatSheet#Verifying_and_Resetting_a_Mo
ck
for more info.)
We should also support manually verifying *all* mocks:
bool Mock::VerifyAndClearExpectationsOfAllMocks();
bool Mock::VerifyAndClearAllMocks();
Original issue reported on code.google.com by zhanyong...@gmail.com on 17 Apr 2009 at 9:53
Original issue reported on code.google.com by
zhanyong...@gmail.com
on 17 Apr 2009 at 9:53