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

Method fulfilledCallsToString

src/CppUTestExt/MockExpectedCallsList.cpp:336–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336SimpleString MockExpectedCallsList::fulfilledCallsToString(const SimpleString& linePrefix) const
337{
338 SimpleString str;
339
340 for (MockExpectedCallsListNode* p = head_; p; p = p->next_)
341 if (p->expectedCall_->isFulfilled())
342 str = appendStringOnANewLine(str, linePrefix, p->expectedCall_->callToString());
343
344 return stringOrNoneTextWhenEmpty(str, linePrefix);
345}
346
347SimpleString MockExpectedCallsList::missingParametersToString() const
348{

Callers 3

TESTFunction · 0.80

Calls 4

appendStringOnANewLineFunction · 0.85
callToStringMethod · 0.80
isFulfilledMethod · 0.45

Tested by 1

TESTFunction · 0.64