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

Fixed tests

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