mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 00:15:58 +01:00
It doesn't seem like there is a time where setUp and tearDown aren't required in Fixture.
This commit is contained in:
@@ -15,10 +15,8 @@ struct UNITY_FIXTURE_T UnityFixture;
|
|||||||
* Build with -D UNITY_OUTPUT_CHAR=outputChar and include <stdio.h>
|
* Build with -D UNITY_OUTPUT_CHAR=outputChar and include <stdio.h>
|
||||||
* int (*outputChar)(int) = putchar; */
|
* int (*outputChar)(int) = putchar; */
|
||||||
|
|
||||||
#if !defined(UNITY_WEAK_ATTRIBUTE) && !defined(UNITY_WEAK_PRAGMA)
|
|
||||||
void setUp(void) { /*does nothing*/ }
|
void setUp(void) { /*does nothing*/ }
|
||||||
void tearDown(void) { /*does nothing*/ }
|
void tearDown(void) { /*does nothing*/ }
|
||||||
#endif
|
|
||||||
|
|
||||||
static void announceTestRun(unsigned int runNumber)
|
static void announceTestRun(unsigned int runNumber)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user