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

Method wasLastActualCallFulfilled

src/CppUTestExt/MockSupport.cpp:256–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256bool MockSupport::wasLastActualCallFulfilled()
257{
258 if (lastActualFunctionCall_ && !lastActualFunctionCall_->isFulfilled())
259 return false;
260
261 for (MockNamedValueListNode* p = data_.begin(); p; p = p->next())
262 if (getMockSupport(p) && !getMockSupport(p)->wasLastActualCallFulfilled())
263 return false;
264
265 return true;
266}
267
268void MockSupport::failTestWithExpectedCallsNotFulfilled()
269{

Callers

nothing calls this directly

Calls 3

beginMethod · 0.80
nextMethod · 0.80
isFulfilledMethod · 0.45

Tested by

no test coverage detected