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

Method setDataObject

src/CppUTestExt/MockSupport.cpp:404–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404void MockSupport::setDataObject(const SimpleString& name, const SimpleString& type, void* value)
405{
406 MockNamedValue* newData = retrieveDataFromStore(name);
407 newData->setObjectPointer(type, value);
408}
409
410void MockSupport::setDataConstObject(const SimpleString& name, const SimpleString& type, const void* value)
411{

Callers 5

setDataObject_cFunction · 0.80
all_mock_support_c_callsFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80

Calls 1

setObjectPointerMethod · 0.80

Tested by 4

all_mock_support_c_callsFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64