mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-10-09 14:22:57 +08:00
make fixtures and examples compatible with new UnityBegin method.
This commit is contained in:
@ -33,8 +33,7 @@ void resetTest()
|
||||
|
||||
int main(void)
|
||||
{
|
||||
Unity.TestFile = "test/TestProductionCode2.c";
|
||||
UnityBegin();
|
||||
UnityBegin("test/TestProductionCode2.c");
|
||||
|
||||
// RUN_TEST calls runTest
|
||||
RUN_TEST(test_IgnoredTest, 13);
|
||||
|
@ -35,8 +35,7 @@ void resetTest()
|
||||
|
||||
int main(void)
|
||||
{
|
||||
Unity.TestFile = "test/TestProductionCode.c";
|
||||
UnityBegin();
|
||||
UnityBegin("test/TestProductionCode.c");
|
||||
|
||||
// RUN_TEST calls runTest
|
||||
RUN_TEST(test_FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrokenCode, 20);
|
||||
|
@ -33,8 +33,7 @@ void resetTest()
|
||||
|
||||
int main(void)
|
||||
{
|
||||
Unity.TestFile = "test/TestProductionCode2.c";
|
||||
UnityBegin();
|
||||
UnityBegin("test/TestProductionCode2.c");
|
||||
|
||||
// RUN_TEST calls runTest
|
||||
RUN_TEST(test_IgnoredTest, 13);
|
||||
|
@ -35,8 +35,7 @@ void resetTest()
|
||||
|
||||
int main(void)
|
||||
{
|
||||
Unity.TestFile = "test/TestProductionCode.c";
|
||||
UnityBegin();
|
||||
UnityBegin("test/TestProductionCode.c");
|
||||
|
||||
// RUN_TEST calls runTest
|
||||
RUN_TEST(test_FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrokenCode, 20);
|
||||
|
Reference in New Issue
Block a user