FRDM K64F Metronome

Committer:
ram54288
Date:
Sun May 14 18:37:05 2017 +0000
Revision:
0:dbad57390bd1
Initial commit

Who changed what in which revision?

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