mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-08-13 06:37:53 +00:00
Fixing CI tests passing
This commit is contained in:
Vendored
-3
@@ -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) {}
|
||||||
|
|||||||
-4
@@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user