MCPcopy Index your code
hub / github.com/DaveGamble/cJSON / UnityConcludeTest

Function UnityConcludeTest

tests/unity/src/unity.c:376–396  ·  view source on GitHub ↗

-----------------------------------------------*/

Source from the content-addressed store, hash-verified

374
375/*-----------------------------------------------*/
376void UnityConcludeTest(void)
377{
378 if (Unity.CurrentTestIgnored)
379 {
380 Unity.TestIgnores++;
381 }
382 else if (!Unity.CurrentTestFailed)
383 {
384 UnityTestResultsBegin(Unity.TestFile, Unity.CurrentTestLineNumber);
385 UnityPrint(UnityStrPass);
386 }
387 else
388 {
389 Unity.TestFailures++;
390 }
391
392 Unity.CurrentTestFailed = 0;
393 Unity.CurrentTestIgnored = 0;
394 UNITY_PRINT_EOL();
395 UNITY_FLUSH_CALL();
396}
397
398/*-----------------------------------------------*/
399static void UnityAddMsgIfSpecified(const char* msg)

Calls 2

UnityTestResultsBeginFunction · 0.85
UnityPrintFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…