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:
3
test/testdata/testRunnerGenerator.c
vendored
3
test/testdata/testRunnerGenerator.c
vendored
@@ -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
test/testdata/testRunnerGeneratorSmall.c
vendored
4
test/testdata/testRunnerGeneratorSmall.c
vendored
@@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
4
test/testdata/testRunnerGeneratorWithMocks.c
vendored
4
test/testdata/testRunnerGeneratorWithMocks.c
vendored
@@ -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