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

Method setTestFunction

src/CppUTest/TestTestingFixture.cpp:75–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void TestTestingFixture::setTestFunction(void(*testFunction)())
76{
77 clearExecFunction();
78
79 genTest_->testFunction_ = new ExecFunctionWithoutParameters(testFunction);
80 ownsExecFunction_ = true;
81}
82
83void TestTestingFixture::setTestFunction(ExecFunction* testFunction)
84{

Callers 15

TESTFunction · 0.80
testFailureWithFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
MSC_SWITCHED_TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
setupFunction · 0.80
TESTFunction · 0.80
setupFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected