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

Function stringOrNoneTextWhenEmpty

src/CppUTestExt/MockExpectedCallsList.cpp:308–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306}
307
308static SimpleString stringOrNoneTextWhenEmpty(const SimpleString& inputString, const SimpleString& linePrefix)
309{
310 SimpleString str = inputString;
311 if (str == "") {
312 str += linePrefix;
313 str += "<none>";
314 }
315 return str;
316}
317
318static SimpleString appendStringOnANewLine(const SimpleString& inputString, const SimpleString& linePrefix, const SimpleString& stringToAppend)
319{

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected