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

Method missingParametersToString

src/CppUTestExt/MockExpectedCallsList.cpp:347–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347SimpleString MockExpectedCallsList::missingParametersToString() const
348{
349 SimpleString str;
350 for (MockExpectedCallsListNode* p = head_; p; p = p->next_)
351 if (! p->expectedCall_->isMatchingActualCall())
352 str = appendStringOnANewLine(str, "", p->expectedCall_->missingParametersToString());
353
354 return stringOrNoneTextWhenEmpty(str, "");
355}
356
357bool MockExpectedCallsList::hasUnmatchingExpectationsBecauseOfMissingParameters() const
358{

Callers

nothing calls this directly

Calls 3

appendStringOnANewLineFunction · 0.85
isMatchingActualCallMethod · 0.80

Tested by

no test coverage detected