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

Method checkExpectationsOfLastActualCall

src/CppUTestExt/MockSupport.cpp:305–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305void MockSupport::checkExpectationsOfLastActualCall()
306{
307 if(lastActualFunctionCall_)
308 lastActualFunctionCall_->checkExpectations();
309
310 for(MockNamedValueListNode *p = data_.begin();p;p = p->next())
311 if(getMockSupport(p) && getMockSupport(p)->lastActualFunctionCall_)
312 getMockSupport(p)->lastActualFunctionCall_->checkExpectations();
313}
314
315bool MockSupport::hasCallsOutOfOrder()
316{

Callers

nothing calls this directly

Calls 3

beginMethod · 0.80
nextMethod · 0.80
checkExpectationsMethod · 0.45

Tested by

no test coverage detected