提交 28d05e4f 编写于 作者: G Greg Williams

Fixed tests

上级 b953334e
...@@ -24,7 +24,8 @@ static void runTest(UnityTestFunction test) ...@@ -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) ...@@ -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) ...@@ -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) ...@@ -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); ...@@ -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); ...@@ -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) ...@@ -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) ...@@ -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) ...@@ -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(); ...@@ -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) ...@@ -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) ...@@ -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(); ...@@ -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(); ...@@ -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); ...@@ -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(); ...@@ -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); ...@@ -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); ...@@ -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(); ...@@ -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(); ...@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册