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

Function returnIntValueOrDefault_c

src/CppUTestExt/MockSupport_c.cpp:832–838  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

830}
831
832int returnIntValueOrDefault_c(int defaultValue)
833{
834 if (!hasReturnValue_c()) {
835 return defaultValue;
836 }
837 return intReturnValue_c();
838}
839
840unsigned int unsignedIntReturnValue_c()
841{

Callers

nothing calls this directly

Calls 2

hasReturnValue_cFunction · 0.85
intReturnValue_cFunction · 0.85

Tested by

no test coverage detected