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

Method resetActualCallMatchingState

src/CppUTestExt/MockExpectedCall.cpp:339–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337}
338
339void MockCheckedExpectedCall::resetActualCallMatchingState()
340{
341 wasPassedToObject_ = !isSpecificObjectExpected_;
342 isActualCallMatchFinalized_ = false;
343
344 MockNamedValueListNode* p;
345
346 for (p = inputParameters_->begin(); p; p = p->next())
347 item(p)->setMatchesActualCall(false);
348 for (p = outputParameters_->begin(); p; p = p->next())
349 item(p)->setMatchesActualCall(false);
350}
351
352void MockCheckedExpectedCall::inputParameterWasPassed(const SimpleString& name)
353{

Callers 2

checkExpectationsMethod · 0.45

Calls 3

beginMethod · 0.80
nextMethod · 0.80
setMatchesActualCallMethod · 0.80

Tested by

no test coverage detected