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

Method inputParameterWasPassed

src/CppUTestExt/MockExpectedCall.cpp:352–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352void MockCheckedExpectedCall::inputParameterWasPassed(const SimpleString& name)
353{
354 for (MockNamedValueListNode* p = inputParameters_->begin(); p; p = p->next()) {
355 if (p->getName() == name)
356 item(p)->setMatchesActualCall(true);
357 }
358}
359
360void MockCheckedExpectedCall::outputParameterWasPassed(const SimpleString& name)
361{

Callers 4

parameterWasPassedMethod · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80

Calls 4

beginMethod · 0.80
nextMethod · 0.80
setMatchesActualCallMethod · 0.80
getNameMethod · 0.45

Tested by 3

TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64