mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-21 06:40:12 +08:00
standardized pointer notation; did a bit of janitorial work on Unity struct
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@17 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
11
src/unity.c
11
src/unity.c
@ -5,13 +5,14 @@
|
|||||||
struct _Unity Unity =
|
struct _Unity Unity =
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
NULL,
|
NULL,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
1e-4f,
|
1e-4f,
|
||||||
|
0,
|
||||||
};
|
};
|
||||||
|
|
||||||
void UnityPrintChar(const char ch)
|
void UnityPrintChar(const char ch)
|
||||||
|
@ -19,13 +19,13 @@ typedef enum
|
|||||||
|
|
||||||
struct _Unity
|
struct _Unity
|
||||||
{
|
{
|
||||||
char* CurrentTestName;
|
const char* TestFile;
|
||||||
|
const char* CurrentTestName;
|
||||||
unsigned char NumberOfTests;
|
unsigned char NumberOfTests;
|
||||||
unsigned char TestFailures;
|
unsigned char TestFailures;
|
||||||
unsigned char TestIgnores;
|
unsigned char TestIgnores;
|
||||||
unsigned char CurrentTestFailed;
|
unsigned char CurrentTestFailed;
|
||||||
unsigned char CurrentTestIgnored;
|
unsigned char CurrentTestIgnored;
|
||||||
const char *TestFile;
|
|
||||||
float DefaultDelta;
|
float DefaultDelta;
|
||||||
jmp_buf AbortFrame;
|
jmp_buf AbortFrame;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user