1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-24 17:01:35 +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_NO_ARGS
#define RUN_TEST(TestFunc, TestLineNum, ...) \
{ \
@@ -23,7 +23,7 @@
UnityConcludeTest(); \
}
//=======Automagically Detected Files To Include=====
/*=======Automagically Detected Files To Include=====*/
#include "unity.h"
#include "cmock.h"
#include <setjmp.h>
@@ -32,14 +32,14 @@
#include <setjmp.h>
#include "Mockstanky.h"
//=======External Functions This Runner Calls=====
/*=======External Functions This Runner Calls=====*/
extern void setUp(void);
extern void tearDown(void);
extern void test_TheFirstThingToTest(void);
extern void test_TheSecondThingToTest(void);
//=======Mock Management=====
/*=======Mock Management=====*/
static void CMock_Init(void)
{
Mockstanky_Init();
@@ -53,7 +53,7 @@ static void CMock_Destroy(void)
Mockstanky_Destroy();
}
//=======Test Reset Option=====
/*=======Test Reset Option=====*/
void resetTest(void);
void resetTest(void)
{
@@ -65,7 +65,7 @@ void resetTest(void)
}
//=======MAIN=====
/*=======MAIN=====*/
int main(void)
{
UnityBegin("testdata/mocksample.c");