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

Merge pull request #122 from trianglee/get_tests_counts

Added ability to get number of ignored tests and total number of tests.
This commit is contained in:
Mark VanderVoord
2015-07-14 16:45:55 -04:00
2 changed files with 14 additions and 2 deletions

View File

@@ -314,11 +314,21 @@ void UnityPointer_UndoAllSets(void)
}
}
int UnityFailureCount(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;