Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-cloud-workshop-connect-HTS221 by
testsample_cmd.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 "funky.h" 00030 #include "stanky.h" 00031 #include <setjmp.h> 00032 00033 /*=======External Functions This Runner Calls=====*/ 00034 extern void setUp(void); 00035 extern void tearDown(void); 00036 extern void test_TheFirstThingToTest(void); 00037 extern void test_TheSecondThingToTest(void); 00038 extern void test_TheThirdThingToTest(void); 00039 extern void test_TheFourthThingToTest(void); 00040 00041 00042 /*=======Test Reset Option=====*/ 00043 void resetTest(void); 00044 void resetTest(void) 00045 { 00046 tearDown(); 00047 setUp(); 00048 } 00049 00050 00051 /*=======MAIN=====*/ 00052 int main(void) 00053 { 00054 UnityBegin("testdata/testsample.c"); 00055 RUN_TEST(test_TheFirstThingToTest, 21); 00056 RUN_TEST(test_TheSecondThingToTest, 43); 00057 RUN_TEST(test_TheThirdThingToTest, 53); 00058 RUN_TEST(test_TheFourthThingToTest, 58); 00059 00060 return (UnityEnd()); 00061 }
Generated on Tue Jul 12 2022 19:12:16 by
1.7.2
