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

Method returnUnsignedIntValueOrDefault

src/CppUTestExt/MockSupport.cpp:523–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523unsigned int MockSupport::returnUnsignedIntValueOrDefault(unsigned int defaultValue)
524{
525 if (hasReturnValue()) {
526 return unsignedIntReturnValue();
527 }
528 return defaultValue;
529}
530
531unsigned long int MockSupport::returnUnsignedLongIntValueOrDefault(unsigned long int defaultValue)
532{

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