1276da39aSCy Schubert /* AUTOGENERATED FILE. DO NOT EDIT. */ 2276da39aSCy Schubert 3276da39aSCy Schubert //=======Test Runner Used To Run Each Test Below===== 4276da39aSCy Schubert #define RUN_TEST(TestFunc, TestLineNum) \ 5276da39aSCy Schubert { \ 6276da39aSCy Schubert Unity.CurrentTestName = #TestFunc; \ 7276da39aSCy Schubert Unity.CurrentTestLineNumber = TestLineNum; \ 8276da39aSCy Schubert Unity.NumberOfTests++; \ 9276da39aSCy Schubert if (TEST_PROTECT()) \ 10276da39aSCy Schubert { \ 11276da39aSCy Schubert setUp(); \ 12276da39aSCy Schubert TestFunc(); \ 13276da39aSCy Schubert } \ 14276da39aSCy Schubert if (TEST_PROTECT() && !TEST_IS_IGNORED) \ 15276da39aSCy Schubert { \ 16276da39aSCy Schubert tearDown(); \ 17276da39aSCy Schubert } \ 18276da39aSCy Schubert UnityConcludeTest(); \ 19276da39aSCy Schubert } 20276da39aSCy Schubert 21276da39aSCy Schubert //=======Automagically Detected Files To Include===== 22276da39aSCy Schubert #include "unity.h" 23276da39aSCy Schubert #include <setjmp.h> 24276da39aSCy Schubert #include <stdio.h> 25*9034852cSGleb Smirnoff #include "config.h" 26*9034852cSGleb Smirnoff #include "sntptest.h" 27*9034852cSGleb Smirnoff #include "fileHandlingTest.h" 28*9034852cSGleb Smirnoff #include "main.h" 29*9034852cSGleb Smirnoff #include "utilities.h" 30*9034852cSGleb Smirnoff #include <math.h> 31276da39aSCy Schubert 32276da39aSCy Schubert //=======External Functions This Runner Calls===== 33276da39aSCy Schubert extern void setUp(void); 34276da39aSCy Schubert extern void tearDown(void); 35*9034852cSGleb Smirnoff extern void test_IPv4Address(void); 36*9034852cSGleb Smirnoff extern void test_IPv6Address(void); 37*9034852cSGleb Smirnoff extern void test_SetLiVnMode1(void); 38*9034852cSGleb Smirnoff extern void test_SetLiVnMode2(void); 39*9034852cSGleb Smirnoff extern void test_PktOutput(void); 40*9034852cSGleb Smirnoff extern void test_LfpOutputBinaryFormat(void); 41*9034852cSGleb Smirnoff extern void test_LfpOutputDecimalFormat(void); 42276da39aSCy Schubert 43276da39aSCy Schubert 44276da39aSCy Schubert //=======Test Reset Option===== 45*9034852cSGleb Smirnoff void resetTest(void); 46*9034852cSGleb Smirnoff void resetTest(void) 47276da39aSCy Schubert { 48276da39aSCy Schubert tearDown(); 49276da39aSCy Schubert setUp(); 50276da39aSCy Schubert } 51276da39aSCy Schubert 52*9034852cSGleb Smirnoff char const *progname; 53276da39aSCy Schubert 54276da39aSCy Schubert 55276da39aSCy Schubert //=======MAIN===== 56276da39aSCy Schubert int main(int argc, char *argv[]) 57276da39aSCy Schubert { 58276da39aSCy Schubert progname = argv[0]; 59276da39aSCy Schubert UnityBegin("utilities.c"); 60*9034852cSGleb Smirnoff RUN_TEST(test_IPv4Address, 16); 61*9034852cSGleb Smirnoff RUN_TEST(test_IPv6Address, 17); 62*9034852cSGleb Smirnoff RUN_TEST(test_SetLiVnMode1, 18); 63*9034852cSGleb Smirnoff RUN_TEST(test_SetLiVnMode2, 19); 64*9034852cSGleb Smirnoff RUN_TEST(test_PktOutput, 20); 65*9034852cSGleb Smirnoff RUN_TEST(test_LfpOutputBinaryFormat, 21); 66*9034852cSGleb Smirnoff RUN_TEST(test_LfpOutputDecimalFormat, 22); 67276da39aSCy Schubert 68276da39aSCy Schubert return (UnityEnd()); 69276da39aSCy Schubert } 70