1284990Scy//- Copyright (c) 2010 James Grenning and Contributed to Unity Project
2284990Scy/* ==========================================
3284990Scy    Unity Project - A Test Framework for C
4284990Scy    Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
5284990Scy    [Released under MIT License. Please refer to license.txt for details]
6284990Scy========================================== */
7284990Scy
8284990Scy#ifndef UNITY_FIXTURE_INTERNALS_H_
9284990Scy#define UNITY_FIXTURE_INTERNALS_H_
10284990Scy
11284990Scytypedef struct _UNITY_FIXTURE_T
12284990Scy{
13284990Scy    int Verbose;
14284990Scy    unsigned int RepeatCount;
15284990Scy    const char* NameFilter;
16284990Scy    const char* GroupFilter;
17284990Scy} UNITY_FIXTURE_T;
18284990Scy
19284990Scytypedef void unityfunction(void);
20284990Scyvoid UnityTestRunner(unityfunction * setup,
21284990Scy        unityfunction * body,
22284990Scy        unityfunction * teardown,
23284990Scy        const char * printableName,
24284990Scy        const char * group,
25284990Scy        const char * name,
26284990Scy        const char * file, int line);
27284990Scy
28284990Scyvoid UnityIgnoreTest(const char * printableName);
29284990Scyvoid UnityMalloc_StartTest(void);
30284990Scyvoid UnityMalloc_EndTest(void);
31284990Scyint UnityFailureCount(void);
32284990Scyint UnityGetCommandLineOptions(int argc, const char* argv[]);
33284990Scyvoid UnityConcludeFixtureTest(void);
34284990Scy
35284990Scyvoid UnityPointer_Set(void ** ptr, void * newValue);
36284990Scyvoid UnityPointer_UndoAllSets(void);
37284990Scyvoid UnityPointer_Init(void);
38284990Scy
39284990Scyvoid UnityAssertEqualPointer(const void * expected,
40284990Scy                            const void * actual,
41284990Scy                            const char* msg,
42284990Scy                            const UNITY_LINE_TYPE lineNumber);
43284990Scy
44284990Scy#endif /* UNITY_FIXTURE_INTERNALS_H_ */
45