]> git.mdlowis.com Git - projs/libcds.git/blob
db23f67c8621c0ccf5e5cd74816d18ed1f08421a
[projs/libcds.git] /
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 typedef 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
19 typedef void unityfunction();
20 void 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
28 void UnityIgnoreTest();
29 void UnityMalloc_StartTest();
30 void UnityMalloc_EndTest();
31 int UnityFailureCount();
32 int UnityGetCommandLineOptions(int argc, char* argv[]);
33 void UnityConcludeFixtureTest();
34
35 void UnityPointer_Set(void ** ptr, void * newValue);
36 void UnityPointer_UndoAllSets();
37 void UnityPointer_Init();
38
39 void 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_ */