run-authkeys.c (285830) | run-authkeys.c (289999) |
---|---|
1/* AUTOGENERATED FILE. DO NOT EDIT. */ 2 3//=======Test Runner Used To Run Each Test Below===== 4#define RUN_TEST(TestFunc, TestLineNum) \ 5{ \ 6 Unity.CurrentTestName = #TestFunc; \ 7 Unity.CurrentTestLineNumber = TestLineNum; \ 8 Unity.NumberOfTests++; \ --- 8 unchanged lines hidden (view full) --- 17 } \ 18 UnityConcludeTest(); \ 19} 20 21//=======Automagically Detected Files To Include===== 22#include "unity.h" 23#include <setjmp.h> 24#include <stdio.h> | 1/* AUTOGENERATED FILE. DO NOT EDIT. */ 2 3//=======Test Runner Used To Run Each Test Below===== 4#define RUN_TEST(TestFunc, TestLineNum) \ 5{ \ 6 Unity.CurrentTestName = #TestFunc; \ 7 Unity.CurrentTestLineNumber = TestLineNum; \ 8 Unity.NumberOfTests++; \ --- 8 unchanged lines hidden (view full) --- 17 } \ 18 UnityConcludeTest(); \ 19} 20 21//=======Automagically Detected Files To Include===== 22#include "unity.h" 23#include <setjmp.h> 24#include <stdio.h> |
25#include "config.h" 26#include "ntp.h" 27#include "ntp_stdlib.h" 28#include "ntp_calendar.h" |
|
25 26//=======External Functions This Runner Calls===== 27extern void setUp(void); 28extern void tearDown(void); | 29 30//=======External Functions This Runner Calls===== 31extern void setUp(void); 32extern void tearDown(void); |
29extern void test_AddTrustedKeys(); 30extern void test_AddUntrustedKey(); 31extern void test_HaveKeyCorrect(); 32extern void test_HaveKeyIncorrect(); 33extern void test_AddWithAuthUseKey(); 34extern void test_EmptyKey(); | 33extern void test_AddTrustedKeys(void); 34extern void test_AddUntrustedKey(void); 35extern void test_HaveKeyCorrect(void); 36extern void test_HaveKeyIncorrect(void); 37extern void test_AddWithAuthUseKey(void); 38extern void test_EmptyKey(void); |
35 36 37//=======Test Reset Option===== | 39 40 41//=======Test Reset Option===== |
38void resetTest() | 42void resetTest(void); 43void resetTest(void) |
39{ 40 tearDown(); 41 setUp(); 42} 43 | 44{ 45 tearDown(); 46 setUp(); 47} 48 |
44char *progname; | 49char const *progname; |
45 46 47//=======MAIN===== 48int main(int argc, char *argv[]) 49{ 50 progname = argv[0]; | 50 51 52//=======MAIN===== 53int main(int argc, char *argv[]) 54{ 55 progname = argv[0]; |
51 Unity.TestFile = "authkeys.c"; | |
52 UnityBegin("authkeys.c"); | 56 UnityBegin("authkeys.c"); |
53 RUN_TEST(test_AddTrustedKeys, 71); 54 RUN_TEST(test_AddUntrustedKey, 82); 55 RUN_TEST(test_HaveKeyCorrect, 90); 56 RUN_TEST(test_HaveKeyIncorrect, 99); 57 RUN_TEST(test_AddWithAuthUseKey, 106); 58 RUN_TEST(test_EmptyKey, 113); | 57 RUN_TEST(test_AddTrustedKeys, 24); 58 RUN_TEST(test_AddUntrustedKey, 25); 59 RUN_TEST(test_HaveKeyCorrect, 26); 60 RUN_TEST(test_HaveKeyIncorrect, 27); 61 RUN_TEST(test_AddWithAuthUseKey, 28); 62 RUN_TEST(test_EmptyKey, 29); |
59 60 return (UnityEnd()); 61} | 63 64 return (UnityEnd()); 65} |