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

Method setMemoryBuffer

src/CppUTestExt/MockNamedValue.cpp:149–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void MockNamedValue::setMemoryBuffer(const unsigned char* value, size_t size)
150{
151 type_ = "const unsigned char*";
152 value_.memoryBufferValue_ = value;
153 size_ = size;
154}
155
156void MockNamedValue::setConstObjectPointer(const SimpleString& type, const void* objectPtr)
157{

Callers 3

MockActualCall.cppFile · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64