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

Method getInputParameterValueString

src/CppUTestExt/MockExpectedCall.cpp:368–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366}
367
368SimpleString MockCheckedExpectedCall::getInputParameterValueString(const SimpleString& name)
369{
370 MockNamedValue * p = inputParameters_->getValueByName(name);
371 return (p) ? StringFrom(*p) : "failed";
372}
373
374bool MockCheckedExpectedCall::hasInputParameter(const MockNamedValue& parameter)
375{

Callers 1

TESTFunction · 0.80

Calls 2

getValueByNameMethod · 0.80
StringFromFunction · 0.70

Tested by 1

TESTFunction · 0.64