1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-27 02:11:36 +01:00

Added flushSpy

This commit is contained in:
Fabian Zahn
2018-02-18 14:23:26 +01:00
parent fe950b9fa3
commit 456759296b
6 changed files with 27 additions and 7 deletions

View File

@@ -3335,6 +3335,14 @@ void putcharSpy(int c)
#endif
}
#if 0
void flushSpy(void)
{
static unsigned int calls = 0;
calls++; // count every call
}
#endif
void testFailureCountIncrementsAndIsReturnedAtEnd(void)
{
UNITY_UINT savedFailures = Unity.TestFailures;