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

Method MockNoWayToCompareCustomTypeFailure

src/CppUTestExt/MockFailure.cpp:218–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218MockNoWayToCompareCustomTypeFailure::MockNoWayToCompareCustomTypeFailure(UtestShell* test, const SimpleString& typeName) : MockFailure(test)
219{
220 message_ = StringFromFormat("MockFailure: No way to compare type <%s>. Please install a MockNamedValueComparator.", typeName.asCharString());
221}
222
223MockNoWayToCopyCustomTypeFailure::MockNoWayToCopyCustomTypeFailure(UtestShell* test, const SimpleString& typeName) : MockFailure(test)
224{

Callers

nothing calls this directly

Calls 2

StringFromFormatFunction · 0.85
asCharStringMethod · 0.80

Tested by

no test coverage detected