unity_fixture_internals.h 1.3 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
//- Copyright (c) 2010 James Grenning and Contributed to Unity Project
/* ==========================================
    Unity Project - A Test Framework for C
    Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
    [Released under MIT License. Please refer to license.txt for details]
========================================== */

#ifndef UNITY_FIXTURE_INTERNALS_H_
#define UNITY_FIXTURE_INTERNALS_H_

11
struct _UnityFixture
12 13 14 15 16
{
    int Verbose;
    unsigned int RepeatCount;
    const char* NameFilter;
    const char* GroupFilter;
17
};
18

19
typedef void unityfunction(void);
20 21 22 23 24 25 26
void UnityTestRunner(unityfunction* setup,
                     unityfunction* body,
                     unityfunction* teardown,
                     const char* printableName,
                     const char* group,
                     const char* name,
                     const char* file, int line);
27

28
void UnityIgnoreTest(const char* printableName, const char* group, const char* name);
29 30
void UnityMalloc_StartTest(void);
void UnityMalloc_EndTest(void);
31
int UnityGetCommandLineOptions(int argc, const char* argv[]);
32
void UnityConcludeFixtureTest(void);
33

34
void UnityPointer_Set(void** ptr, void* newValue, UNITY_LINE_TYPE line);
35 36
void UnityPointer_UndoAllSets(void);
void UnityPointer_Init(void);
37 38

#endif /* UNITY_FIXTURE_INTERNALS_H_ */