run-humandate.c revision 1.1.1.3
1/*	$NetBSD: run-humandate.c,v 1.1.1.3 2015/10/23 17:47:45 christos Exp $	*/
2
3/* AUTOGENERATED FILE. DO NOT EDIT. */
4
5//=======Test Runner Used To Run Each Test Below=====
6#define RUN_TEST(TestFunc, TestLineNum) \
7{ \
8  Unity.CurrentTestName = #TestFunc; \
9  Unity.CurrentTestLineNumber = TestLineNum; \
10  Unity.NumberOfTests++; \
11  if (TEST_PROTECT()) \
12  { \
13      setUp(); \
14      TestFunc(); \
15  } \
16  if (TEST_PROTECT() && !TEST_IS_IGNORED) \
17  { \
18    tearDown(); \
19  } \
20  UnityConcludeTest(); \
21}
22
23//=======Automagically Detected Files To Include=====
24#include "unity.h"
25#include <setjmp.h>
26#include <stdio.h>
27#include "config.h"
28#include "ntp_calendar.h"
29#include "ntp_stdlib.h"
30
31//=======External Functions This Runner Calls=====
32extern void setUp(void);
33extern void tearDown(void);
34extern void test_RegularTime(void);
35extern void test_CurrentTime(void);
36
37
38//=======Test Reset Option=====
39void resetTest(void);
40void resetTest(void)
41{
42  tearDown();
43  setUp();
44}
45
46char const *progname;
47
48
49//=======MAIN=====
50int main(int argc, char *argv[])
51{
52  progname = argv[0];
53  UnityBegin("humandate.c");
54  RUN_TEST(test_RegularTime, 8);
55  RUN_TEST(test_CurrentTime, 9);
56
57  return (UnityEnd());
58}
59