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

Method addExpectationsAndCallHistory

src/CppUTestExt/MockFailure.cpp:72–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void MockFailure::addExpectationsAndCallHistory(const MockExpectedCallsList& expectations)
73{
74 message_ += "\tEXPECTED calls that WERE NOT fulfilled:\n";
75 message_ += expectations.unfulfilledCallsToString("\t\t");
76 message_ += "\n\tEXPECTED calls that WERE fulfilled:\n";
77 message_ += expectations.fulfilledCallsToString("\t\t");
78}
79
80void MockFailure::addExpectationsAndCallHistoryRelatedTo(const SimpleString& name, const MockExpectedCallsList& expectations)
81{

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected