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

Function andReturnFunctionPointerValue_c

src/CppUTestExt/MockSupport_c.cpp:597–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595}
596
597MockExpectedCall_c* andReturnFunctionPointerValue_c(void (*value)())
598{
599 expectedCall = &expectedCall->andReturnValue((cpputest_cpp_function_pointer)value);
600 return &gExpectedCall;
601}
602
603static MockValue_c getMockValueCFromNamedValue(const MockNamedValue& namedValue)
604{

Callers 1

MockSupport_c.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected