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

Function testFailureWith

tests/CppUTestExt/GTest1Test.cpp:169–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167 }
168
169 void testFailureWith(void(*method)())
170 {
171 fixture->setTestFunction(method);
172 fixture->runAllTests();
173 LONGS_EQUAL(1, fixture->getFailureCount());
174 CHECK(!afterCheck);
175 }
176
177};
178

Callers 1

TESTFunction · 0.85

Calls 3

setTestFunctionMethod · 0.80
runAllTestsMethod · 0.45
getFailureCountMethod · 0.45

Tested by

no test coverage detected