MCPcopy Create free account
hub / github.com/ThrowTheSwitch/Unity / UnityConcludeFixtureTest

Function UnityConcludeFixtureTest

extras/fixture/src/unity_fixture.c:284–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284void UnityConcludeFixtureTest(void)
285{
286 if (Unity.CurrentTestIgnored)
287 {
288 Unity.TestIgnores++;
289 UNITY_PRINT_EOL();
290 }
291 else if (!Unity.CurrentTestFailed)
292 {
293 if (UnityFixture.Verbose)
294 {
295 UnityPrint(" ");
296 UnityPrint(UnityStrPass);
297 UNITY_EXEC_TIME_STOP();
298 UNITY_PRINT_EXEC_TIME();
299 UNITY_PRINT_EOL();
300 }
301 }
302 else /* Unity.CurrentTestFailed */
303 {
304 Unity.TestFailures++;
305 UNITY_PRINT_EOL();
306 }
307
308 Unity.CurrentTestFailed = 0;
309 Unity.CurrentTestIgnored = 0;
310}

Callers 2

UnityTestRunnerFunction · 0.85

Calls 1

UnityPrintFunction · 0.85

Tested by

no test coverage detected