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

Method getMockSupport

src/CppUTestExt/MockSupport.cpp:455–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453}
454
455MockSupport* MockSupport::getMockSupport(MockNamedValueListNode* node)
456{
457 if (node->getType() == "MockSupport" && node->getName().contains(MOCK_SUPPORT_SCOPE_PREFIX))
458 return (MockSupport*) node->item()->getObjectPointer();
459 return NULLPTR;
460}
461
462MockNamedValue MockSupport::returnValue()
463{

Callers

nothing calls this directly

Calls 5

getTypeMethod · 0.80
containsMethod · 0.80
getObjectPointerMethod · 0.80
getNameMethod · 0.45
itemMethod · 0.45

Tested by

no test coverage detected