Fixed tests

This commit is contained in:
Greg Williams
2014-11-05 21:57:48 -05:00
parent b953334ef3
commit 28d05e4f33
20 changed files with 40 additions and 20 deletions

View File

@ -24,7 +24,8 @@ static void runTest(UnityTestFunction test)
tearDown();
}
}
void resetTest()
void resetTest(void);
void resetTest(void)
{
tearDown();
setUp();

View File

@ -26,7 +26,8 @@ static void runTest(UnityTestFunction test)
tearDown();
}
}
void resetTest()
void resetTest(void);
void resetTest(void)
{
tearDown();
setUp();

View File

@ -24,7 +24,8 @@ static void runTest(UnityTestFunction test)
tearDown();
}
}
void resetTest()
void resetTest(void);
void resetTest(void)
{
tearDown();
setUp();

View File

@ -26,7 +26,8 @@ static void runTest(UnityTestFunction test)
tearDown();
}
}
void resetTest()
void resetTest(void);
void resetTest(void)
{
tearDown();
setUp();

View File

@ -38,7 +38,8 @@ extern void test_TheSecondThingToTest(void);
//=======Test Reset Option=====
void resetTest()
void resetTest(void);
void resetTest(void)
{
tearDown();
setUp();

View File

@ -34,7 +34,8 @@ extern void test_TheSecondThingToTest(void);
//=======Test Reset Option=====
void resetTest()
void resetTest(void);
void resetTest(void)
{
tearDown();
setUp();

View File

@ -56,7 +56,8 @@ static void CMock_Destroy(void)
}
//=======Test Reset Option=====
void resetTest()
void resetTest(void);
void resetTest(void)
{
CMock_Verify();
CMock_Destroy();

View File

@ -52,7 +52,8 @@ static void CMock_Destroy(void)
}
//=======Test Reset Option=====
void resetTest()
void resetTest(void);
void resetTest(void)
{
CMock_Verify();
CMock_Destroy();

View File

@ -65,7 +65,8 @@ static void CMock_Destroy(void)
}
//=======Test Reset Option=====
void resetTest()
void resetTest(void);
void resetTest(void)
{
CMock_Verify();
CMock_Destroy();

View File

@ -64,7 +64,8 @@ a_custom_teardown();
}
//=======Test Reset Option=====
void resetTest()
void resetTest(void);
void resetTest(void)
{
CMock_Verify();
CMock_Destroy();

View File

@ -53,7 +53,8 @@ static void CMock_Destroy(void)
}
//=======Test Reset Option=====
void resetTest()
void resetTest(void);
void resetTest(void)
{
CMock_Verify();
CMock_Destroy();

View File

@ -65,7 +65,8 @@ static void CMock_Destroy(void)
}
//=======Test Reset Option=====
void resetTest()
void resetTest(void);
void resetTest(void)
{
CMock_Verify();
CMock_Destroy();

View File

@ -64,7 +64,8 @@ a_custom_teardown();
}
//=======Test Reset Option=====
void resetTest()
void resetTest(void);
void resetTest(void)
{
CMock_Verify();
CMock_Destroy();

View File

@ -65,7 +65,8 @@ a_yaml_setup();
}
//=======Test Reset Option=====
void resetTest()
void resetTest(void);
void resetTest(void)
{
CMock_Verify();
CMock_Destroy();

View File

@ -44,7 +44,8 @@ extern void test_TheSecondThingToTest(void);
//=======Test Reset Option=====
void resetTest()
void resetTest(void);
void resetTest(void)
{
tearDown();
setUp();

View File

@ -46,7 +46,8 @@ a_custom_teardown();
}
//=======Test Reset Option=====
void resetTest()
void resetTest(void);
void resetTest(void)
{
tearDown();
setUp();

View File

@ -35,7 +35,8 @@ extern void test_TheSecondThingToTest(void);
//=======Test Reset Option=====
void resetTest()
void resetTest(void);
void resetTest(void)
{
tearDown();
setUp();

View File

@ -44,7 +44,8 @@ extern void test_TheSecondThingToTest(void);
//=======Test Reset Option=====
void resetTest()
void resetTest(void);
void resetTest(void)
{
tearDown();
setUp();

View File

@ -46,7 +46,8 @@ a_custom_teardown();
}
//=======Test Reset Option=====
void resetTest()
void resetTest(void);
void resetTest(void)
{
tearDown();
setUp();

View File

@ -47,7 +47,8 @@ a_yaml_setup();
}
//=======Test Reset Option=====
void resetTest()
void resetTest(void);
void resetTest(void)
{
tearDown();
setUp();