1
0
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:
Mark VanderVoord
2019-07-05 19:29:21 -04:00
parent 45020b0d3b
commit a54d58a8fd

View File

@@ -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)
{ {