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

Function TEST

tests/CppUTestExt/GMockTest.cpp:64–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64TEST(GMock, GMockFailuresWorkAsExpected)
65{
66 fixture->setTestFunction(failedMockCall);
67 fixture->runAllTests();
68 LONGS_EQUAL(1, fixture->getFailureCount());
69}
70
71static void failedMockCallAfterOneSuccess()
72{

Callers

nothing calls this directly

Calls 3

setTestFunctionMethod · 0.80
runAllTestsMethod · 0.45
getFailureCountMethod · 0.45

Tested by

no test coverage detected