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:
Greg Williams
2015-03-12 08:53:38 -04:00
parent 5efd127e08
commit 90e5ae59b0
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -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);
+1 -1
View File
@@ -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);