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

Method returnValue

src/CppUTestExt/MockActualCall.cpp:415–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415MockNamedValue MockCheckedActualCall::returnValue()
416{
417 checkExpectations();
418 if (matchingExpectation_)
419 return matchingExpectation_->returnValue();
420 return MockNamedValue("no return value");
421}
422
423bool MockCheckedActualCall::returnBoolValueOrDefault(bool default_value)
424{

Callers

nothing calls this directly

Calls 1

MockNamedValueClass · 0.50

Tested by

no test coverage detected