MCPcopy Create free account
hub / github.com/cpputest/cpputest / expectedCallsLeft

Method expectedCallsLeft

src/CppUTestExt/MockSupport.cpp:246–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246bool MockSupport::expectedCallsLeft()
247{
248 int callsLeft = expectations_.hasUnfulfilledExpectations();
249
250 for (MockNamedValueListNode* p = data_.begin(); p; p = p->next())
251 if (getMockSupport(p)) callsLeft += getMockSupport(p)->expectedCallsLeft();
252
253 return callsLeft != 0;
254}
255
256bool MockSupport::wasLastActualCallFulfilled()
257{

Callers 7

expectedCallsLeft_cFunction · 0.80
all_mock_support_c_callsFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80

Calls 3

beginMethod · 0.80
nextMethod · 0.80

Tested by 6

all_mock_support_c_callsFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64