1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-23 08:25:58 +01:00

Change comments style in unity and test runner to compile with std=c89

This commit is contained in:
Andrzej Bieniek
2015-09-09 21:09:59 +01:00
parent a5a927f43e
commit 61dd3f181b
22 changed files with 362 additions and 362 deletions

View File

@@ -1,6 +1,6 @@
/* AUTOGENERATED FILE. DO NOT EDIT. */
//=======Test Runner Used To Run Each Test Below=====
/*=======Test Runner Used To Run Each Test Below=====*/
#define RUN_TEST(TestFunc, TestLineNum) \
{ \
Unity.CurrentTestName = #TestFunc; \
@@ -18,7 +18,7 @@
UnityConcludeTest(); \
}
//=======Automagically Detected Files To Include=====
/*=======Automagically Detected Files To Include=====*/
#include "unity.h"
#include <setjmp.h>
#include <stdio.h>
@@ -26,7 +26,7 @@
#include "stanky.h"
#include <setjmp.h>
//=======External Functions This Runner Calls=====
/*=======External Functions This Runner Calls=====*/
extern void setUp(void);
extern void tearDown(void);
extern void test_TheFirstThingToTest(void);
@@ -35,19 +35,19 @@ extern void test_TheThirdThingToTest(void);
extern void test_TheFourthThingToTest(void);
//=======Suite Setup=====
/*=======Suite Setup=====*/
static int suite_setup(void)
{
a_custom_setup();
}
//=======Suite Teardown=====
/*=======Suite Teardown=====*/
static int suite_teardown(int num_failures)
{
a_custom_teardown();
}
//=======Test Reset Option=====
/*=======Test Reset Option=====*/
void resetTest(void);
void resetTest(void)
{
@@ -56,7 +56,7 @@ void resetTest(void)
}
//=======MAIN=====
/*=======MAIN=====*/
int main(void)
{
suite_setup();