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 ========================================== */
8 #ifndef UNITY_FIXTURE_INTERNALS_H_
9 #define UNITY_FIXTURE_INTERNALS_H_
11 typedef struct _UNITY_FIXTURE_T
14 unsigned int RepeatCount;
15 const char* NameFilter;
16 const char* GroupFilter;
19 typedef void unityfunction(void);
20 void UnityTestRunner(unityfunction * setup,
22 unityfunction * teardown,
23 const char * printableName,
26 const char * file, int line);
28 void UnityIgnoreTest(const char * printableName);
29 void UnityMalloc_StartTest(void);
30 void UnityMalloc_EndTest(void);
31 int UnityFailureCount(void);
32 int UnityGetCommandLineOptions(int argc, const char* argv[]);
33 void UnityConcludeFixtureTest(void);
35 void UnityPointer_Set(void ** ptr, void * newValue);
36 void UnityPointer_UndoAllSets(void);
37 void UnityPointer_Init(void);
39 void UnityAssertEqualPointer(const void * expected,
42 const UNITY_LINE_TYPE lineNumber);
44 #endif /* UNITY_FIXTURE_INTERNALS_H_ */