run-netof.c revision 293893
193885Sphantom/* AUTOGENERATED FILE. DO NOT EDIT. */ 293885Sphantom 393885Sphantom//=======Test Runner Used To Run Each Test Below===== 493885Sphantom#define RUN_TEST(TestFunc, TestLineNum) \ 593885Sphantom{ \ 693885Sphantom Unity.CurrentTestName = #TestFunc; \ 793885Sphantom Unity.CurrentTestLineNumber = TestLineNum; \ 893885Sphantom Unity.NumberOfTests++; \ 993885Sphantom if (TEST_PROTECT()) \ 1093885Sphantom { \ 1193885Sphantom setUp(); \ 1293885Sphantom TestFunc(); \ 1393885Sphantom } \ 1493885Sphantom if (TEST_PROTECT() && !TEST_IS_IGNORED) \ 1593885Sphantom { \ 1693885Sphantom tearDown(); \ 1793885Sphantom } \ 1893885Sphantom UnityConcludeTest(); \ 1993885Sphantom} 2093885Sphantom 2193885Sphantom//=======Automagically Detected Files To Include===== 2293885Sphantom#include "unity.h" 2393885Sphantom#include <setjmp.h> 2493885Sphantom#include <stdio.h> 2593885Sphantom#include "config.h" 2693885Sphantom#include "ntp_stdlib.h" 2793885Sphantom#include "ntp_calendar.h" 2893885Sphantom#include "sockaddrtest.h" 2993885Sphantom 3093885Sphantom//=======External Functions This Runner Calls===== 3193885Sphantomextern void setUp(void); 3293885Sphantomextern void tearDown(void); 3393885Sphantomextern void test_ClassBAddress(void); 3493885Sphantomextern void test_ClassCAddress(void); 3593885Sphantomextern void test_ClassAAddress(void); 3693885Sphantomextern void test_IPv6Address(void); 37 38 39//=======Test Reset Option===== 40void resetTest(void); 41void resetTest(void) 42{ 43 tearDown(); 44 setUp(); 45} 46 47char const *progname; 48 49 50//=======MAIN===== 51int main(int argc, char *argv[]) 52{ 53 progname = argv[0]; 54 UnityBegin("netof.c"); 55 RUN_TEST(test_ClassBAddress, 12); 56 RUN_TEST(test_ClassCAddress, 13); 57 RUN_TEST(test_ClassAAddress, 14); 58 RUN_TEST(test_IPv6Address, 15); 59 60 return (UnityEnd()); 61} 62