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 11 #ifdef __cplusplus 12 extern "C" 13 { 14 #endif 15 16 struct UNITY_FIXTURE_T 17 { 18 int Verbose; 19 int Silent; 20 unsigned int RepeatCount; 21 const char* NameFilter; 22 const char* GroupFilter; 23 }; 24 extern struct UNITY_FIXTURE_T UnityFixture; 25 26 typedef void unityfunction(void); 27 void UnityTestRunner(unityfunction* setup, 28 unityfunction* testBody, 29 unityfunction* teardown, 30 const char* printableName, 31 const char* group, 32 const char* name, 33 const char* file, unsigned int line); 34 35 void UnityIgnoreTest(const char* printableName, const char* group, const char* name); 36 int UnityGetCommandLineOptions(int argc, const char* argv[]); 37 void UnityConcludeFixtureTest(void); 38 39 void UnityPointer_Set(void** pointer, void* newValue, UNITY_LINE_TYPE line); 40 void UnityPointer_UndoAllSets(void); 41 void UnityPointer_Init(void); 42 #ifndef UNITY_MAX_POINTERS 43 #define UNITY_MAX_POINTERS 5 44 #endif 45 46 #ifdef __cplusplus 47 } 48 #endif 49 50 #endif /* UNITY_FIXTURE_INTERNALS_H_ */ 51