unity_fixture_internals.h revision 290001
1//- Copyright (c) 2010 James Grenning and Contributed to Unity Project 2/* ========================================== 3 Unity Project - A Test Framework for C 4 Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams 5 [Released under MIT License. Please refer to license.txt for details] 6========================================== */ 7 8#ifndef UNITY_FIXTURE_INTERNALS_H_ 9#define UNITY_FIXTURE_INTERNALS_H_ 10 11typedef struct _UNITY_FIXTURE_T 12{ 13 int Verbose; 14 unsigned int RepeatCount; 15 const char* NameFilter; 16 const char* GroupFilter; 17} UNITY_FIXTURE_T; 18 19typedef void unityfunction(void); 20void UnityTestRunner(unityfunction * setup, 21 unityfunction * body, 22 unityfunction * teardown, 23 const char * printableName, 24 const char * group, 25 const char * name, 26 const char * file, int line); 27 28void UnityIgnoreTest(const char * printableName); 29void UnityMalloc_StartTest(void); 30void UnityMalloc_EndTest(void); 31int UnityFailureCount(void); 32int UnityGetCommandLineOptions(int argc, const char* argv[]); 33void UnityConcludeFixtureTest(void); 34 35void UnityPointer_Set(void ** ptr, void * newValue); 36void UnityPointer_UndoAllSets(void); 37void UnityPointer_Init(void); 38 39void UnityAssertEqualPointer(const void * expected, 40 const void * actual, 41 const char* msg, 42 const UNITY_LINE_TYPE lineNumber); 43 44#endif /* UNITY_FIXTURE_INTERNALS_H_ */ 45