mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-07-24 03:22:48 +08: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:
@ -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;
|
||||
|
@ -28,9 +28,6 @@ void UnityTestRunner(unityfunction* setup,
|
||||
void UnityIgnoreTest(const char* printableName, const char* group, const char* name);
|
||||
void UnityMalloc_StartTest(void);
|
||||
void UnityMalloc_EndTest(void);
|
||||
UNITY_COUNTER_TYPE UnityFailureCount(void);
|
||||
UNITY_COUNTER_TYPE UnityIgnoreCount(void);
|
||||
UNITY_COUNTER_TYPE UnityTestsCount(void);
|
||||
int UnityGetCommandLineOptions(int argc, const char* argv[]);
|
||||
void UnityConcludeFixtureTest(void);
|
||||
|
||||
|
Reference in New Issue
Block a user