mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 00:15:58 +01:00
Remove opaque typedef from UnityFixture struct, as done in core Unity
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include "unity_fixture.h"
|
||||
#include "unity_internals.h"
|
||||
|
||||
UNITY_FIXTURE_T UnityFixture;
|
||||
struct _UnityFixture UnityFixture;
|
||||
|
||||
//If you decide to use the function pointer approach.
|
||||
//Build with -D UNITY_OUTPUT_CHAR=outputChar and include <stdio.h>
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
#ifndef UNITY_FIXTURE_INTERNALS_H_
|
||||
#define UNITY_FIXTURE_INTERNALS_H_
|
||||
|
||||
typedef struct _UNITY_FIXTURE_T
|
||||
struct _UnityFixture
|
||||
{
|
||||
int Verbose;
|
||||
unsigned int RepeatCount;
|
||||
const char* NameFilter;
|
||||
const char* GroupFilter;
|
||||
} UNITY_FIXTURE_T;
|
||||
};
|
||||
|
||||
typedef void unityfunction(void);
|
||||
void UnityTestRunner(unityfunction* setup,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
extern UNITY_FIXTURE_T UnityFixture;
|
||||
extern struct _UnityFixture UnityFixture;
|
||||
|
||||
TEST_GROUP(UnityFixture);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user