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

Method hasInputParameter

src/CppUTestExt/MockExpectedCall.cpp:374–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374bool MockCheckedExpectedCall::hasInputParameter(const MockNamedValue& parameter)
375{
376 MockNamedValue * p = inputParameters_->getValueByName(parameter.getName());
377 return (p) ? p->equals(parameter) : ignoreOtherParameters_;
378}
379
380bool MockCheckedExpectedCall::hasOutputParameter(const MockNamedValue& parameter)
381{

Callers 2

TESTFunction · 0.80

Calls 3

getValueByNameMethod · 0.80
equalsMethod · 0.80
getNameMethod · 0.45

Tested by 1

TESTFunction · 0.64