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

Method areParametersMatchingActualCall

src/CppUTestExt/MockExpectedCall.cpp:278–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278bool MockCheckedExpectedCall::areParametersMatchingActualCall()
279{
280 MockNamedValueListNode* p;
281 for (p = inputParameters_->begin(); p; p = p->next())
282 if (! item(p)->isMatchingActualCall())
283 return false;
284 for (p = outputParameters_->begin(); p; p = p->next())
285 if (! item(p)->isMatchingActualCall())
286 return false;
287 return true;
288}
289
290MockExpectedCall& MockCheckedExpectedCall::ignoreOtherParameters()
291{

Calls 3

beginMethod · 0.80
nextMethod · 0.80
isMatchingActualCallMethod · 0.80

Tested by

no test coverage detected