• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* AUTOGENERATED FILE. DO NOT EDIT. */
2 
3 /*=======Test Runner Used To Run Each Test Below=====*/
4 #define RUN_TEST_NO_ARGS
5 #define RUN_TEST(TestFunc, TestLineNum, ...) \
6 { \
7   Unity.CurrentTestName = #TestFunc "(" #__VA_ARGS__ ")"; \
8   Unity.CurrentTestLineNumber = TestLineNum; \
9   Unity.NumberOfTests++; \
10   if (TEST_PROTECT()) \
11   { \
12       setUp(); \
13       TestFunc(__VA_ARGS__); \
14   } \
15   if (TEST_PROTECT() && !TEST_IS_IGNORED) \
16   { \
17     tearDown(); \
18   } \
19   UnityConcludeTest(); \
20 }
21 
22 /*=======Automagically Detected Files To Include=====*/
23 #include "unity.h"
24 #include <setjmp.h>
25 #include <stdio.h>
26 #include "funky.h"
27 #include "stanky.h"
28 #include <setjmp.h>
29 
30 /*=======External Functions This Runner Calls=====*/
31 extern void setUp(void);
32 extern void tearDown(void);
33 extern void test_TheFirstThingToTest(void);
34 extern void test_TheSecondThingToTest(void);
35 extern void test_TheThirdThingToTest(void);
36 extern void test_TheFourthThingToTest(void);
37 
38 
39 /*=======Test Reset Option=====*/
40 void resetTest(void);
resetTest(void)41 void resetTest(void)
42 {
43   tearDown();
44   setUp();
45 }
46 
47 
48 /*=======MAIN=====*/
main(void)49 int main(void)
50 {
51   UnityBegin("testdata/testsample.c");
52   RUN_TEST(test_TheFirstThingToTest, 21, RUN_TEST_NO_ARGS);
53   RUN_TEST(test_TheSecondThingToTest, 43, RUN_TEST_NO_ARGS);
54   RUN_TEST(test_TheThirdThingToTest, 53, RUN_TEST_NO_ARGS);
55   RUN_TEST(test_TheFourthThingToTest, 58, RUN_TEST_NO_ARGS);
56 
57   return (UnityEnd());
58 }
59