mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-27 02:11:36 +01:00
Added flushSpy
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user