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

Method MockNoWayToCopyCustomTypeFailure

src/CppUTestExt/MockFailure.cpp:223–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223MockNoWayToCopyCustomTypeFailure::MockNoWayToCopyCustomTypeFailure(UtestShell* test, const SimpleString& typeName) : MockFailure(test)
224{
225 message_ = StringFromFormat("MockFailure: No way to copy type <%s>. Please install a MockNamedValueCopier.", typeName.asCharString());
226}
227
228MockUnexpectedObjectFailure::MockUnexpectedObjectFailure(UtestShell* test, const SimpleString& functionName, const void* actual, const MockExpectedCallsList& expectations) : MockFailure(test)
229{

Callers

nothing calls this directly

Calls 2

StringFromFormatFunction · 0.85
asCharStringMethod · 0.80

Tested by

no test coverage detected