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

Method returnUnsignedLongIntValueOrDefault

src/CppUTestExt/MockSupport.cpp:531–537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531unsigned long int MockSupport::returnUnsignedLongIntValueOrDefault(unsigned long int defaultValue)
532{
533 if (hasReturnValue()) {
534 return unsignedLongIntReturnValue();
535 }
536 return defaultValue;
537}
538
539long int MockSupport::longIntReturnValue()
540{

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