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

Method hasCallsOutOfOrder

src/CppUTestExt/MockSupport.cpp:315–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315bool MockSupport::hasCallsOutOfOrder()
316{
317 if (expectations_.hasCallsOutOfOrder())
318 {
319 return true;
320 }
321 for (MockNamedValueListNode* p = data_.begin(); p; p = p->next())
322 if (getMockSupport(p) && getMockSupport(p)->hasCallsOutOfOrder())
323 {
324 return true;
325 }
326 return false;
327}
328
329void MockSupport::checkExpectations()
330{

Callers 1

TESTFunction · 0.45

Calls 2

beginMethod · 0.80
nextMethod · 0.80

Tested by 1

TESTFunction · 0.36