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

Method returnLongIntValueOrDefault

src/CppUTestExt/MockSupport.cpp:499–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499long int MockSupport::returnLongIntValueOrDefault(long int defaultValue)
500{
501 if (hasReturnValue()) {
502 return longIntReturnValue();
503 }
504 return defaultValue;
505}
506
507bool MockSupport::returnBoolValueOrDefault(bool defaultValue)
508{

Callers 4

all_mock_support_c_callsFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 4

all_mock_support_c_callsFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36