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

Function TEST

tests/CppUTest/TestHarness_cTest.cpp:57–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 */
56
57TEST(TestGroupInC, setupHasBeenCalled)
58{
59 test_was_called_in_test_group_in_C++;
60 /* Increased in setup, decreased in teardown. So at this point it must be 1 also on a multiple run */
61 LONGS_EQUAL(1, setup_teardown_was_called_in_test_group_in_C);
62}
63
64static bool hasDestructorOfTheDestructorCheckedBeenCalled;
65

Callers

nothing calls this directly

Calls 15

cpputest_mallocFunction · 0.85
cpputest_freeFunction · 0.85
cpputest_strdupFunction · 0.85
cpputest_strndupFunction · 0.85
cpputest_callocFunction · 0.85
cpputest_reallocFunction · 0.85
setTestFunctionMethod · 0.80

Tested by

no test coverage detected