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

Function appendStringOnANewLine

src/CppUTestExt/MockExpectedCallsList.cpp:318–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316}
317
318static SimpleString appendStringOnANewLine(const SimpleString& inputString, const SimpleString& linePrefix, const SimpleString& stringToAppend)
319{
320 SimpleString str = inputString;
321 if (str != "") str += "\n";
322 str += linePrefix;
323 str += stringToAppend;
324 return str;
325}
326
327SimpleString MockExpectedCallsList::unfulfilledCallsToString(const SimpleString& linePrefix) const
328{

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected