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

Method runOneTest

src/CppUTest/Utest.cpp:177–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void UtestShell::runOneTest(TestPlugin* plugin, TestResult& result)
178{
179 hasFailed_ = false;
180 result.countRun();
181 HelperTestRunInfo runInfo(this, plugin, &result);
182 if (isRunInSeperateProcess())
183 PlatformSpecificSetJmp(helperDoRunOneTestSeperateProcess, &runInfo);
184 else
185 PlatformSpecificSetJmp(helperDoRunOneTestInCurrentProcess, &runInfo);
186}
187
188Utest* UtestShell::createTest()
189{

Callers 2

runAllTestsMethod · 0.45

Calls 4

PlatformSpecificSetJmpFunction · 0.85
runOneTestFunction · 0.85
countRunMethod · 0.80
countIgnoredMethod · 0.80

Tested by

no test coverage detected