Simulated product dispenser

Dependencies:   HTS221

Fork of mbed-cloud-workshop-connect-HTS221 by Jim Carver

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers testsample_yaml.c Source File

testsample_yaml.c

00001 /* AUTOGENERATED FILE. DO NOT EDIT. */
00002 
00003 /*=======Test Runner Used To Run Each Test Below=====*/
00004 #define RUN_TEST(TestFunc, TestLineNum) \
00005 { \
00006   Unity.CurrentTestName = #TestFunc; \
00007   Unity.CurrentTestLineNumber = TestLineNum; \
00008   Unity.NumberOfTests++; \
00009   if (TEST_PROTECT()) \
00010   { \
00011     CEXCEPTION_T e; \
00012     Try { \
00013       setUp(); \
00014       TestFunc(); \
00015     } Catch(e) { TEST_ASSERT_EQUAL_HEX32_MESSAGE(CEXCEPTION_NONE, e, "Unhandled Exception!"); } \
00016   } \
00017   if (TEST_PROTECT() && !TEST_IS_IGNORED) \
00018   { \
00019     tearDown(); \
00020   } \
00021   UnityConcludeTest(); \
00022 }
00023 
00024 /*=======Automagically Detected Files To Include=====*/
00025 #include "unity.h"
00026 #include <setjmp.h>
00027 #include <stdio.h>
00028 #include "CException.h"
00029 #include "two.h"
00030 #include "three.h"
00031 #include <four.h>
00032 #include "funky.h"
00033 #include "stanky.h"
00034 #include <setjmp.h>
00035 
00036 /*=======External Functions This Runner Calls=====*/
00037 extern void setUp(void);
00038 extern void tearDown(void);
00039 extern void test_TheFirstThingToTest(void);
00040 extern void test_TheSecondThingToTest(void);
00041 extern void test_TheThirdThingToTest(void);
00042 extern void test_TheFourthThingToTest(void);
00043 
00044 
00045 /*=======Suite Setup=====*/
00046 static int suite_setup(void)
00047 {
00048 a_yaml_setup();
00049 }
00050 
00051 /*=======Test Reset Option=====*/
00052 void resetTest(void);
00053 void resetTest(void)
00054 {
00055   tearDown();
00056   setUp();
00057 }
00058 
00059 
00060 /*=======MAIN=====*/
00061 int main(void)
00062 {
00063   suite_setup();
00064   UnityBegin("testdata/testsample.c");
00065   RUN_TEST(test_TheFirstThingToTest, 21);
00066   RUN_TEST(test_TheSecondThingToTest, 43);
00067   RUN_TEST(test_TheThirdThingToTest, 53);
00068   RUN_TEST(test_TheFourthThingToTest, 58);
00069 
00070   return (UnityEnd());
00071 }