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

Method getValueByName

src/CppUTestExt/MockNamedValue.cpp:586–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584}
585
586MockNamedValue* MockNamedValueList::getValueByName(const SimpleString& name)
587{
588 for (MockNamedValueListNode * p = head_; p; p = p->next())
589 if (p->getName() == name)
590 return p->item();
591 return NULLPTR;
592}
593
594MockNamedValueListNode* MockNamedValueList::begin()
595{

Callers 11

getInputParameterTypeMethod · 0.80
getInputParameterMethod · 0.80
getOutputParameterMethod · 0.80
hasInputParameterMethod · 0.80
hasOutputParameterMethod · 0.80
hasDataMethod · 0.80
retrieveDataFromStoreMethod · 0.80
getDataMethod · 0.80

Calls 3

nextMethod · 0.80
getNameMethod · 0.45
itemMethod · 0.45

Tested by

no test coverage detected