run-utilities.c revision 289999
1284990Scy/* AUTOGENERATED FILE. DO NOT EDIT. */ 2284990Scy 3284990Scy//=======Test Runner Used To Run Each Test Below===== 4284990Scy#define RUN_TEST(TestFunc, TestLineNum) \ 5284990Scy{ \ 6284990Scy Unity.CurrentTestName = #TestFunc; \ 7284990Scy Unity.CurrentTestLineNumber = TestLineNum; \ 8284990Scy Unity.NumberOfTests++; \ 9284990Scy if (TEST_PROTECT()) \ 10284990Scy { \ 11284990Scy setUp(); \ 12284990Scy TestFunc(); \ 13284990Scy } \ 14284990Scy if (TEST_PROTECT() && !TEST_IS_IGNORED) \ 15284990Scy { \ 16284990Scy tearDown(); \ 17284990Scy } \ 18284990Scy UnityConcludeTest(); \ 19284990Scy} 20284990Scy 21284990Scy//=======Automagically Detected Files To Include===== 22284990Scy#include "unity.h" 23284990Scy#include <setjmp.h> 24284990Scy#include <stdio.h> 25289999Sglebius#include "config.h" 26289999Sglebius#include "sntptest.h" 27289999Sglebius#include "fileHandlingTest.h" 28289999Sglebius#include "main.h" 29289999Sglebius#include "utilities.h" 30289999Sglebius#include <math.h> 31284990Scy 32284990Scy//=======External Functions This Runner Calls===== 33284990Scyextern void setUp(void); 34284990Scyextern void tearDown(void); 35289999Sglebiusextern void test_IPv4Address(void); 36289999Sglebiusextern void test_IPv6Address(void); 37289999Sglebiusextern void test_SetLiVnMode1(void); 38289999Sglebiusextern void test_SetLiVnMode2(void); 39289999Sglebiusextern void test_PktOutput(void); 40289999Sglebiusextern void test_LfpOutputBinaryFormat(void); 41289999Sglebiusextern void test_LfpOutputDecimalFormat(void); 42284990Scy 43284990Scy 44284990Scy//=======Test Reset Option===== 45289999Sglebiusvoid resetTest(void); 46289999Sglebiusvoid resetTest(void) 47284990Scy{ 48284990Scy tearDown(); 49284990Scy setUp(); 50284990Scy} 51284990Scy 52289999Sglebiuschar const *progname; 53284990Scy 54284990Scy 55284990Scy//=======MAIN===== 56284990Scyint main(int argc, char *argv[]) 57284990Scy{ 58284990Scy progname = argv[0]; 59284990Scy UnityBegin("utilities.c"); 60289999Sglebius RUN_TEST(test_IPv4Address, 16); 61289999Sglebius RUN_TEST(test_IPv6Address, 17); 62289999Sglebius RUN_TEST(test_SetLiVnMode1, 18); 63289999Sglebius RUN_TEST(test_SetLiVnMode2, 19); 64289999Sglebius RUN_TEST(test_PktOutput, 20); 65289999Sglebius RUN_TEST(test_LfpOutputBinaryFormat, 21); 66289999Sglebius RUN_TEST(test_LfpOutputDecimalFormat, 22); 67284990Scy 68284990Scy return (UnityEnd()); 69284990Scy} 70