1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-27 10:14:28 +01:00

Delete unused internals functions for failure, ignore, & test counts.

These wrapper functions should be in Unity core if warranted.
 Use the Unity struct directly for access, or consider macro functions
This commit is contained in:
jsalling
2016-02-05 22:11:20 -06:00
parent 943fef8a17
commit 5e7780fd60
2 changed files with 1 additions and 19 deletions

View File

@@ -45,7 +45,7 @@ int UnityMain(int argc, const char* argv[], void (*runAllTests)(void))
UnityEnd();
}
return UnityFailureCount();
return Unity.TestFailures;
}
static int selected(const char* filter, const char* name)
@@ -339,21 +339,6 @@ void UnityPointer_UndoAllSets(void)
}
}
UNITY_COUNTER_TYPE UnityFailureCount(void)
{
return Unity.TestFailures;
}
UNITY_COUNTER_TYPE UnityIgnoreCount(void)
{
return Unity.TestIgnores;
}
UNITY_COUNTER_TYPE UnityTestsCount(void)
{
return Unity.NumberOfTests;
}
int UnityGetCommandLineOptions(int argc, const char* argv[])
{
int i;