1290001Sglebius/* AUTOGENERATED FILE. DO NOT EDIT. */ 2290001Sglebius 3290001Sglebius//=======Test Runner Used To Run Each Test Below===== 4290001Sglebius#define RUN_TEST(TestFunc, TestLineNum) \ 5290001Sglebius{ \ 6290001Sglebius Unity.CurrentTestName = #TestFunc; \ 7290001Sglebius Unity.CurrentTestLineNumber = TestLineNum; \ 8290001Sglebius Unity.NumberOfTests++; \ 9290001Sglebius if (TEST_PROTECT()) \ 10290001Sglebius { \ 11290001Sglebius setUp(); \ 12290001Sglebius TestFunc(); \ 13290001Sglebius } \ 14290001Sglebius if (TEST_PROTECT() && !TEST_IS_IGNORED) \ 15290001Sglebius { \ 16290001Sglebius tearDown(); \ 17290001Sglebius } \ 18290001Sglebius UnityConcludeTest(); \ 19290001Sglebius} 20290001Sglebius 21290001Sglebius//=======Automagically Detected Files To Include===== 22290001Sglebius#include "unity.h" 23290001Sglebius#include <setjmp.h> 24290001Sglebius#include <stdio.h> 25290001Sglebius#include "config.h" 26290001Sglebius#include "ntp.h" 27290001Sglebius#include "ntp_stdlib.h" 28290001Sglebius#include "ntp_calendar.h" 29294905Sdelphij#include <limits.h> 30290001Sglebius 31290001Sglebius//=======External Functions This Runner Calls===== 32290001Sglebiusextern void setUp(void); 33290001Sglebiusextern void tearDown(void); 34290001Sglebiusextern void test_AddTrustedKeys(void); 35290001Sglebiusextern void test_AddUntrustedKey(void); 36290001Sglebiusextern void test_HaveKeyCorrect(void); 37290001Sglebiusextern void test_HaveKeyIncorrect(void); 38290001Sglebiusextern void test_AddWithAuthUseKey(void); 39290001Sglebiusextern void test_EmptyKey(void); 40294905Sdelphijextern void test_auth_log2(void); 41290001Sglebius 42290001Sglebius 43290001Sglebius//=======Test Reset Option===== 44290001Sglebiusvoid resetTest(void); 45290001Sglebiusvoid resetTest(void) 46290001Sglebius{ 47290001Sglebius tearDown(); 48290001Sglebius setUp(); 49290001Sglebius} 50290001Sglebius 51290001Sglebiuschar const *progname; 52290001Sglebius 53290001Sglebius 54290001Sglebius//=======MAIN===== 55290001Sglebiusint main(int argc, char *argv[]) 56290001Sglebius{ 57290001Sglebius progname = argv[0]; 58290001Sglebius UnityBegin("authkeys.c"); 59294905Sdelphij RUN_TEST(test_AddTrustedKeys, 25); 60294905Sdelphij RUN_TEST(test_AddUntrustedKey, 26); 61294905Sdelphij RUN_TEST(test_HaveKeyCorrect, 27); 62294905Sdelphij RUN_TEST(test_HaveKeyIncorrect, 28); 63294905Sdelphij RUN_TEST(test_AddWithAuthUseKey, 29); 64294905Sdelphij RUN_TEST(test_EmptyKey, 30); 65294905Sdelphij RUN_TEST(test_auth_log2, 31); 66290001Sglebius 67290001Sglebius return (UnityEnd()); 68290001Sglebius} 69