nagyistoce / googlemock

Automatically exported from code.google.com/p/googlemock
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

support manually verifying ALL mocks #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by w...@google.com on 27 Sep 2010 at 9:26