mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-24 08:51:36 +01:00
Add extern UnityFixture in internals header. Add C89 target in Makefile clang will show these warnings but can suppress "//" with -Wno-comment.
40 lines
1.3 KiB
C
40 lines
1.3 KiB
C
//- 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_
|
|
|
|
struct _UnityFixture
|
|
{
|
|
int Verbose;
|
|
unsigned int RepeatCount;
|
|
const char* NameFilter;
|
|
const char* GroupFilter;
|
|
};
|
|
extern struct _UnityFixture UnityFixture;
|
|
|
|
typedef void unityfunction(void);
|
|
void UnityTestRunner(unityfunction* setup,
|
|
unityfunction* body,
|
|
unityfunction* teardown,
|
|
const char* printableName,
|
|
const char* group,
|
|
const char* name,
|
|
const char* file, unsigned int line);
|
|
|
|
void UnityIgnoreTest(const char* printableName, const char* group, const char* name);
|
|
void UnityMalloc_StartTest(void);
|
|
void UnityMalloc_EndTest(void);
|
|
int UnityGetCommandLineOptions(int argc, const char* argv[]);
|
|
void UnityConcludeFixtureTest(void);
|
|
|
|
void UnityPointer_Set(void** ptr, void* newValue, UNITY_LINE_TYPE line);
|
|
void UnityPointer_UndoAllSets(void);
|
|
void UnityPointer_Init(void);
|
|
|
|
#endif /* UNITY_FIXTURE_INTERNALS_H_ */
|