1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-30 11:44:27 +01:00

Remove opaque typedef from UnityFixture struct, as done in core Unity

This commit is contained in:
jsalling
2016-02-08 16:53:10 -06:00
parent 6b664fc803
commit 822a537d2e
3 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
#include "unity_fixture.h" #include "unity_fixture.h"
#include "unity_internals.h" #include "unity_internals.h"
UNITY_FIXTURE_T UnityFixture; struct _UnityFixture UnityFixture;
//If you decide to use the function pointer approach. //If you decide to use the function pointer approach.
//Build with -D UNITY_OUTPUT_CHAR=outputChar and include <stdio.h> //Build with -D UNITY_OUTPUT_CHAR=outputChar and include <stdio.h>

View File

@@ -8,13 +8,13 @@
#ifndef UNITY_FIXTURE_INTERNALS_H_ #ifndef UNITY_FIXTURE_INTERNALS_H_
#define UNITY_FIXTURE_INTERNALS_H_ #define UNITY_FIXTURE_INTERNALS_H_
typedef struct _UNITY_FIXTURE_T struct _UnityFixture
{ {
int Verbose; int Verbose;
unsigned int RepeatCount; unsigned int RepeatCount;
const char* NameFilter; const char* NameFilter;
const char* GroupFilter; const char* GroupFilter;
} UNITY_FIXTURE_T; };
typedef void unityfunction(void); typedef void unityfunction(void);
void UnityTestRunner(unityfunction* setup, void UnityTestRunner(unityfunction* setup,

View File

@@ -10,7 +10,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
extern UNITY_FIXTURE_T UnityFixture; extern struct _UnityFixture UnityFixture;
TEST_GROUP(UnityFixture); TEST_GROUP(UnityFixture);