mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-03 02:57:19 +08:00
Fixed tests
This commit is contained in:
@ -24,7 +24,8 @@ static void runTest(UnityTestFunction test)
|
|||||||
tearDown();
|
tearDown();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
tearDown();
|
tearDown();
|
||||||
setUp();
|
setUp();
|
||||||
|
@ -26,7 +26,8 @@ static void runTest(UnityTestFunction test)
|
|||||||
tearDown();
|
tearDown();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
tearDown();
|
tearDown();
|
||||||
setUp();
|
setUp();
|
||||||
|
@ -24,7 +24,8 @@ static void runTest(UnityTestFunction test)
|
|||||||
tearDown();
|
tearDown();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
tearDown();
|
tearDown();
|
||||||
setUp();
|
setUp();
|
||||||
|
@ -26,7 +26,8 @@ static void runTest(UnityTestFunction test)
|
|||||||
tearDown();
|
tearDown();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
tearDown();
|
tearDown();
|
||||||
setUp();
|
setUp();
|
||||||
|
@ -38,7 +38,8 @@ extern void test_TheSecondThingToTest(void);
|
|||||||
|
|
||||||
|
|
||||||
//=======Test Reset Option=====
|
//=======Test Reset Option=====
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
tearDown();
|
tearDown();
|
||||||
setUp();
|
setUp();
|
||||||
|
@ -34,7 +34,8 @@ extern void test_TheSecondThingToTest(void);
|
|||||||
|
|
||||||
|
|
||||||
//=======Test Reset Option=====
|
//=======Test Reset Option=====
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
tearDown();
|
tearDown();
|
||||||
setUp();
|
setUp();
|
||||||
|
@ -56,7 +56,8 @@ static void CMock_Destroy(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//=======Test Reset Option=====
|
//=======Test Reset Option=====
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
CMock_Verify();
|
CMock_Verify();
|
||||||
CMock_Destroy();
|
CMock_Destroy();
|
||||||
|
@ -52,7 +52,8 @@ static void CMock_Destroy(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//=======Test Reset Option=====
|
//=======Test Reset Option=====
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
CMock_Verify();
|
CMock_Verify();
|
||||||
CMock_Destroy();
|
CMock_Destroy();
|
||||||
|
@ -65,7 +65,8 @@ static void CMock_Destroy(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//=======Test Reset Option=====
|
//=======Test Reset Option=====
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
CMock_Verify();
|
CMock_Verify();
|
||||||
CMock_Destroy();
|
CMock_Destroy();
|
||||||
|
@ -64,7 +64,8 @@ a_custom_teardown();
|
|||||||
}
|
}
|
||||||
|
|
||||||
//=======Test Reset Option=====
|
//=======Test Reset Option=====
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
CMock_Verify();
|
CMock_Verify();
|
||||||
CMock_Destroy();
|
CMock_Destroy();
|
||||||
|
@ -53,7 +53,8 @@ static void CMock_Destroy(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//=======Test Reset Option=====
|
//=======Test Reset Option=====
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
CMock_Verify();
|
CMock_Verify();
|
||||||
CMock_Destroy();
|
CMock_Destroy();
|
||||||
|
@ -65,7 +65,8 @@ static void CMock_Destroy(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//=======Test Reset Option=====
|
//=======Test Reset Option=====
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
CMock_Verify();
|
CMock_Verify();
|
||||||
CMock_Destroy();
|
CMock_Destroy();
|
||||||
|
@ -64,7 +64,8 @@ a_custom_teardown();
|
|||||||
}
|
}
|
||||||
|
|
||||||
//=======Test Reset Option=====
|
//=======Test Reset Option=====
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
CMock_Verify();
|
CMock_Verify();
|
||||||
CMock_Destroy();
|
CMock_Destroy();
|
||||||
|
@ -65,7 +65,8 @@ a_yaml_setup();
|
|||||||
}
|
}
|
||||||
|
|
||||||
//=======Test Reset Option=====
|
//=======Test Reset Option=====
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
CMock_Verify();
|
CMock_Verify();
|
||||||
CMock_Destroy();
|
CMock_Destroy();
|
||||||
|
@ -44,7 +44,8 @@ extern void test_TheSecondThingToTest(void);
|
|||||||
|
|
||||||
|
|
||||||
//=======Test Reset Option=====
|
//=======Test Reset Option=====
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
tearDown();
|
tearDown();
|
||||||
setUp();
|
setUp();
|
||||||
|
@ -46,7 +46,8 @@ a_custom_teardown();
|
|||||||
}
|
}
|
||||||
|
|
||||||
//=======Test Reset Option=====
|
//=======Test Reset Option=====
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
tearDown();
|
tearDown();
|
||||||
setUp();
|
setUp();
|
||||||
|
@ -35,7 +35,8 @@ extern void test_TheSecondThingToTest(void);
|
|||||||
|
|
||||||
|
|
||||||
//=======Test Reset Option=====
|
//=======Test Reset Option=====
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
tearDown();
|
tearDown();
|
||||||
setUp();
|
setUp();
|
||||||
|
@ -44,7 +44,8 @@ extern void test_TheSecondThingToTest(void);
|
|||||||
|
|
||||||
|
|
||||||
//=======Test Reset Option=====
|
//=======Test Reset Option=====
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
tearDown();
|
tearDown();
|
||||||
setUp();
|
setUp();
|
||||||
|
@ -46,7 +46,8 @@ a_custom_teardown();
|
|||||||
}
|
}
|
||||||
|
|
||||||
//=======Test Reset Option=====
|
//=======Test Reset Option=====
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
tearDown();
|
tearDown();
|
||||||
setUp();
|
setUp();
|
||||||
|
@ -47,7 +47,8 @@ a_yaml_setup();
|
|||||||
}
|
}
|
||||||
|
|
||||||
//=======Test Reset Option=====
|
//=======Test Reset Option=====
|
||||||
void resetTest()
|
void resetTest(void);
|
||||||
|
void resetTest(void)
|
||||||
{
|
{
|
||||||
tearDown();
|
tearDown();
|
||||||
setUp();
|
setUp();
|
||||||
|
Reference in New Issue
Block a user