MCPcopy Index your code
hub / github.com/ThrowTheSwitch/Unity / tearDown

Function tearDown

test/tests/test_unity_memory.c:21–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21void tearDown(void)
22{
23 endPutcharSpy(); /* Stop suppressing test output */
24 if (SetToOneToFailInTearDown == 1)
25 {
26 /* These will be skipped internally if already failed/ignored */
27 TEST_FAIL_MESSAGE("<= Failed in tearDown");
28 TEST_IGNORE_MESSAGE("<= Ignored in tearDown");
29 }
30 if ((SetToOneMeanWeAlreadyCheckedThisGuy == 0) && (Unity.CurrentTestFailed > 0))
31 {
32 UnityPrint(": [[[[ Test Should Have Passed But Did Not ]]]]");
33 UNITY_OUTPUT_CHAR('\n');
34 }
35}
36
37void testEqualMemory(void)
38{

Callers

nothing calls this directly

Calls 2

endPutcharSpyFunction · 0.85
UnityPrintFunction · 0.85

Tested by

no test coverage detected