1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-23 00:15:58 +01:00

Fixing CI tests passing

This commit is contained in:
Alex Overchenko
2022-11-27 14:46:34 +03:00
parent e4085eb8e6
commit 48d7210644
3 changed files with 0 additions and 11 deletions

View File

@@ -19,9 +19,6 @@
suitetest- custom prefix for when we want to use custom suite setup/teardown suitetest- custom prefix for when we want to use custom suite setup/teardown
*/ */
/* Support for Meta Test Rig */
#define TEST_CASE(a)
/* Include Passthroughs for Linking Tests */ /* Include Passthroughs for Linking Tests */
void putcharSpy(int c) { (void)putchar(c);} void putcharSpy(int c) { (void)putchar(c);}
void flushSpy(void) {} void flushSpy(void) {}

View File

@@ -11,9 +11,6 @@ TEST_FILE("some_file.c")
spec - normal default prefix. required to run default setup/teardown calls. spec - normal default prefix. required to run default setup/teardown calls.
*/ */
/* Support for Meta Test Rig */
#define TEST_CASE(a)
/* Include Passthroughs for Linking Tests */ /* Include Passthroughs for Linking Tests */
void putcharSpy(int c) { (void)putchar(c);} void putcharSpy(int c) { (void)putchar(c);}
void flushSpy(void) {} void flushSpy(void) {}
@@ -67,4 +64,3 @@ void spec_ThisTestPassesWhenNormalTeardownRan(void)
{ {
TEST_ASSERT_EQUAL_MESSAGE(1, CounterTeardown, "Normal Teardown Wasn't Run"); TEST_ASSERT_EQUAL_MESSAGE(1, CounterTeardown, "Normal Teardown Wasn't Run");
} }

View File

@@ -20,9 +20,6 @@
suitetest- custom prefix for when we want to use custom suite setup/teardown suitetest- custom prefix for when we want to use custom suite setup/teardown
*/ */
/* Support for Meta Test Rig */
#define TEST_CASE(a)
/* Include Passthroughs for Linking Tests */ /* Include Passthroughs for Linking Tests */
void putcharSpy(int c) { (void)putchar(c);} void putcharSpy(int c) { (void)putchar(c);}
void flushSpy(void) {} void flushSpy(void) {}
@@ -194,4 +191,3 @@ void test_ShouldCallMockInitAndVerifyFunctionsForEachTest(void)
TEST_ASSERT_EQUAL_MESSAGE(Unity.NumberOfTests - 1, mockMock_Destroy_Counter, "Mock Destroy Should Be Called Once Per Test Completed"); TEST_ASSERT_EQUAL_MESSAGE(Unity.NumberOfTests - 1, mockMock_Destroy_Counter, "Mock Destroy Should Be Called Once Per Test Completed");
TEST_ASSERT_EQUAL_MESSAGE(0, CMockMemFreeFinalCounter, "Mock MemFreeFinal Should Not Be Called Until End"); TEST_ASSERT_EQUAL_MESSAGE(0, CMockMemFreeFinalCounter, "Mock MemFreeFinal Should Not Be Called Until End");
} }