mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-07-09 13:05:16 +08:00
Fixed tests
This commit is contained in:
examples
example_1/test/test_runners
example_3/test/no_ruby
test/expectdata
testsample_cmd.ctestsample_def.ctestsample_mock_cmd.ctestsample_mock_def.ctestsample_mock_new1.ctestsample_mock_new2.ctestsample_mock_param.ctestsample_mock_run1.ctestsample_mock_run2.ctestsample_mock_yaml.ctestsample_new1.ctestsample_new2.ctestsample_param.ctestsample_run1.ctestsample_run2.ctestsample_yaml.c
@ -24,7 +24,8 @@ static void runTest(UnityTestFunction test)
|
||||
tearDown();
|
||||
}
|
||||
}
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
tearDown();
|
||||
setUp();
|
||||
|
@ -26,7 +26,8 @@ static void runTest(UnityTestFunction test)
|
||||
tearDown();
|
||||
}
|
||||
}
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
tearDown();
|
||||
setUp();
|
||||
|
@ -24,7 +24,8 @@ static void runTest(UnityTestFunction test)
|
||||
tearDown();
|
||||
}
|
||||
}
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
tearDown();
|
||||
setUp();
|
||||
|
@ -26,7 +26,8 @@ static void runTest(UnityTestFunction test)
|
||||
tearDown();
|
||||
}
|
||||
}
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
tearDown();
|
||||
setUp();
|
||||
|
@ -38,7 +38,8 @@ extern void test_TheSecondThingToTest(void);
|
||||
|
||||
|
||||
//=======Test Reset Option=====
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
tearDown();
|
||||
setUp();
|
||||
|
@ -34,7 +34,8 @@ extern void test_TheSecondThingToTest(void);
|
||||
|
||||
|
||||
//=======Test Reset Option=====
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
tearDown();
|
||||
setUp();
|
||||
|
@ -56,7 +56,8 @@ static void CMock_Destroy(void)
|
||||
}
|
||||
|
||||
//=======Test Reset Option=====
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
CMock_Verify();
|
||||
CMock_Destroy();
|
||||
|
@ -52,7 +52,8 @@ static void CMock_Destroy(void)
|
||||
}
|
||||
|
||||
//=======Test Reset Option=====
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
CMock_Verify();
|
||||
CMock_Destroy();
|
||||
|
@ -65,7 +65,8 @@ static void CMock_Destroy(void)
|
||||
}
|
||||
|
||||
//=======Test Reset Option=====
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
CMock_Verify();
|
||||
CMock_Destroy();
|
||||
|
@ -64,7 +64,8 @@ a_custom_teardown();
|
||||
}
|
||||
|
||||
//=======Test Reset Option=====
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
CMock_Verify();
|
||||
CMock_Destroy();
|
||||
|
@ -53,7 +53,8 @@ static void CMock_Destroy(void)
|
||||
}
|
||||
|
||||
//=======Test Reset Option=====
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
CMock_Verify();
|
||||
CMock_Destroy();
|
||||
|
@ -65,7 +65,8 @@ static void CMock_Destroy(void)
|
||||
}
|
||||
|
||||
//=======Test Reset Option=====
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
CMock_Verify();
|
||||
CMock_Destroy();
|
||||
|
@ -64,7 +64,8 @@ a_custom_teardown();
|
||||
}
|
||||
|
||||
//=======Test Reset Option=====
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
CMock_Verify();
|
||||
CMock_Destroy();
|
||||
|
@ -65,7 +65,8 @@ a_yaml_setup();
|
||||
}
|
||||
|
||||
//=======Test Reset Option=====
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
CMock_Verify();
|
||||
CMock_Destroy();
|
||||
|
@ -44,7 +44,8 @@ extern void test_TheSecondThingToTest(void);
|
||||
|
||||
|
||||
//=======Test Reset Option=====
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
tearDown();
|
||||
setUp();
|
||||
|
@ -46,7 +46,8 @@ a_custom_teardown();
|
||||
}
|
||||
|
||||
//=======Test Reset Option=====
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
tearDown();
|
||||
setUp();
|
||||
|
@ -35,7 +35,8 @@ extern void test_TheSecondThingToTest(void);
|
||||
|
||||
|
||||
//=======Test Reset Option=====
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
tearDown();
|
||||
setUp();
|
||||
|
@ -44,7 +44,8 @@ extern void test_TheSecondThingToTest(void);
|
||||
|
||||
|
||||
//=======Test Reset Option=====
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
tearDown();
|
||||
setUp();
|
||||
|
@ -46,7 +46,8 @@ a_custom_teardown();
|
||||
}
|
||||
|
||||
//=======Test Reset Option=====
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
tearDown();
|
||||
setUp();
|
||||
|
@ -47,7 +47,8 @@ a_yaml_setup();
|
||||
}
|
||||
|
||||
//=======Test Reset Option=====
|
||||
void resetTest()
|
||||
void resetTest(void);
|
||||
void resetTest(void)
|
||||
{
|
||||
tearDown();
|
||||
setUp();
|
||||
|
Reference in New Issue
Block a user