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

Method setDataConstObject

src/CppUTestExt/MockSupport.cpp:410–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408}
409
410void MockSupport::setDataConstObject(const SimpleString& name, const SimpleString& type, const void* value)
411{
412 MockNamedValue* newData = retrieveDataFromStore(name);
413 newData->setConstObjectPointer(type, value);
414}
415
416MockNamedValue MockSupport::getData(const SimpleString& name)
417{

Callers 3

setDataConstObject_cFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80

Calls 1

setConstObjectPointerMethod · 0.80

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64