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

Function CppUTestStore

src/CppUTest/TestPlugin.cpp:133–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133void CppUTestStore(void**function)
134{
135 if (pointerTableIndex >= SetPointerPlugin::MAX_SET) {
136 FAIL("Maximum number of function pointers installed!");
137 }
138 setlist[pointerTableIndex].orig_value = *function;
139 setlist[pointerTableIndex].orig = function;
140 pointerTableIndex++;
141}
142
143void SetPointerPlugin::postTestAction(UtestShell& /*test*/, TestResult& /*result*/)
144{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected