vendor/unity/test/expectdata/testsample_mock_new1.c in ceedling-0.20.3 vs vendor/unity/test/expectdata/testsample_mock_new1.c in ceedling-0.21.0
- old
+ new
@@ -1,8 +1,8 @@
/* 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; \
Unity.CurrentTestLineNumber = TestLineNum; \
Unity.NumberOfTests++; \
@@ -23,11 +23,11 @@
} \
CMock_Destroy(); \
UnityConcludeTest(); \
}
-//=======Automagically Detected Files To Include=====
+/*=======Automagically Detected Files To Include=====*/
#include "unity.h"
#include "cmock.h"
#include <setjmp.h>
#include <stdio.h>
#include "CException.h"
@@ -39,18 +39,18 @@
int GlobalExpectCount;
int GlobalVerifyOrder;
char* GlobalOrderError;
-//=======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)
{
GlobalExpectCount = 0;
GlobalVerifyOrder = 0;
GlobalOrderError = NULL;
@@ -63,11 +63,11 @@
static void CMock_Destroy(void)
{
Mockstanky_Destroy();
}
-//=======Test Reset Option=====
+/*=======Test Reset Option=====*/
void resetTest(void);
void resetTest(void)
{
CMock_Verify();
CMock_Destroy();
@@ -75,10 +75,10 @@
CMock_Init();
setUp();
}
-//=======MAIN=====
+/*=======MAIN=====*/
int main(void)
{
UnityBegin("testdata/mocksample.c");
RUN_TEST(test_TheFirstThingToTest, 21);
RUN_TEST(test_TheSecondThingToTest, 43);