run-networking.c revision 289999
1219019Sgabor/* AUTOGENERATED FILE. DO NOT EDIT. */
2219019Sgabor
3219019Sgabor//=======Test Runner Used To Run Each Test Below=====
4219019Sgabor#define RUN_TEST(TestFunc, TestLineNum) \
5219019Sgabor{ \
6219019Sgabor  Unity.CurrentTestName = #TestFunc; \
7219019Sgabor  Unity.CurrentTestLineNumber = TestLineNum; \
8219019Sgabor  Unity.NumberOfTests++; \
9219019Sgabor  if (TEST_PROTECT()) \
10219019Sgabor  { \
11219019Sgabor      setUp(); \
12219019Sgabor      TestFunc(); \
13219019Sgabor  } \
14219019Sgabor  if (TEST_PROTECT() && !TEST_IS_IGNORED) \
15219019Sgabor  { \
16219019Sgabor    tearDown(); \
17219019Sgabor  } \
18219019Sgabor  UnityConcludeTest(); \
19219019Sgabor}
20219019Sgabor
21219019Sgabor//=======Automagically Detected Files To Include=====
22219019Sgabor#include "unity.h"
23219019Sgabor#include <setjmp.h>
24219019Sgabor#include <stdio.h>
25219019Sgabor#include "config.h"
26219019Sgabor#include "sntptest.h"
27219019Sgabor#include "networking.h"
28219019Sgabor
29219019Sgabor//=======External Functions This Runner Calls=====
30219019Sgaborextern void setUp(void);
31219019Sgaborextern void tearDown(void);
32219019Sgabor
33219019Sgabor
34219019Sgabor//=======Test Reset Option=====
35219019Sgaborvoid resetTest(void);
36219019Sgaborvoid resetTest(void)
37219019Sgabor{
38219019Sgabor  tearDown();
39219019Sgabor  setUp();
40219019Sgabor}
41219019Sgabor
42219019Sgaborchar const *progname;
43219019Sgabor
44219019Sgabor
45219019Sgabor//=======MAIN=====
46219019Sgaborint main(int argc, char *argv[])
47219019Sgabor{
48219019Sgabor  progname = argv[0];
49219019Sgabor  UnityBegin("networking.c");
50219019Sgabor
51219019Sgabor  return (UnityEnd());
52219019Sgabor}
53219019Sgabor