mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-06-06 05:25:29 +00:00
Fixed unity test suite runners to pass test suite directly to UnityBegin(name) to be compliant with newer Unity API.
This commit is contained in:
@@ -21,8 +21,7 @@ extern void test_ThatWeCanAskForAllSortsOfSizes(void);
|
||||
|
||||
int main(void)
|
||||
{
|
||||
UnityBegin();
|
||||
Unity.TestFile = "TestCMockDynamic.c";
|
||||
UnityBegin("TestCMockDynamic.c");
|
||||
|
||||
RUN_TEST(test_MemNewWillReturnNullIfGivenIllegalSizes, 26);
|
||||
RUN_TEST(test_MemNewWillNowSupportSizesGreaterThanTheDefinesCMockSize, 35);
|
||||
|
||||
@@ -22,8 +22,8 @@ extern void test_ThatWeCanAskForAllSortsOfSizes(void);
|
||||
|
||||
int main(void)
|
||||
{
|
||||
UnityBegin();
|
||||
Unity.TestFile = "TestCMock.c";
|
||||
UnityBegin(Unity.TestFile);
|
||||
|
||||
RUN_TEST(test_MemNewWillReturnNullIfGivenIllegalSizes, 21);
|
||||
RUN_TEST(test_MemChainWillReturnNullAndDoNothingIfGivenIllegalInformation, 32);
|
||||
|
||||
Reference in New Issue
Block a user