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

Function returnStringValueOrDefault_c

src/CppUTestExt/MockSupport_c.cpp:940–946  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

938}
939
940const char* returnStringValueOrDefault_c(const char * defaultValue)
941{
942 if (!hasReturnValue_c()) {
943 return defaultValue;
944 }
945 return stringReturnValue_c();
946}
947
948double doubleReturnValue_c()
949{

Callers

nothing calls this directly

Calls 2

hasReturnValue_cFunction · 0.85
stringReturnValue_cFunction · 0.85

Tested by

no test coverage detected