MCPcopy Create free account
hub / github.com/DaveGamble/cJSON / tearDown

Function tearDown

tests/unity/test/tests/testunity.c:66–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void tearDown(void)
67{
68 endPutcharSpy(); /* Stop suppressing test output */
69 if (SetToOneToFailInTearDown == 1)
70 {
71 /* These will be skipped internally if already failed/ignored */
72 TEST_FAIL_MESSAGE("<= Failed in tearDown");
73 TEST_IGNORE_MESSAGE("<= Ignored in tearDown");
74 }
75 if ((SetToOneMeanWeAlreadyCheckedThisGuy == 0) && (Unity.CurrentTestFailed > 0))
76 {
77 UnityPrint(": [[[[ Test Should Have Passed But Did Not ]]]]");
78 UNITY_OUTPUT_CHAR('\n');
79 }
80}
81
82void testUnitySizeInitializationReminder(void)
83{

Callers 15

resetTestFunction · 0.50
resetTestFunction · 0.50
resetTestFunction · 0.50
resetTestFunction · 0.50
resetTestFunction · 0.50
resetTestFunction · 0.50
resetTestFunction · 0.50
resetTestFunction · 0.50
resetTestFunction · 0.50
resetTestFunction · 0.50
resetTestFunction · 0.50
resetTestFunction · 0.50

Calls 2

endPutcharSpyFunction · 0.85
UnityPrintFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…