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 setUp(); \
ram54288 0:dbad57390bd1 12 TestFunc(); \
ram54288 0:dbad57390bd1 13 } \
ram54288 0:dbad57390bd1 14 if (TEST_PROTECT() && !TEST_IS_IGNORED) \
ram54288 0:dbad57390bd1 15 { \
ram54288 0:dbad57390bd1 16 tearDown(); \
ram54288 0:dbad57390bd1 17 } \
ram54288 0:dbad57390bd1 18 UnityConcludeTest(); \
ram54288 0:dbad57390bd1 19 }
ram54288 0:dbad57390bd1 20
ram54288 0:dbad57390bd1 21 /*=======Automagically Detected Files To Include=====*/
ram54288 0:dbad57390bd1 22 #include "unity.h"
ram54288 0:dbad57390bd1 23 #include <setjmp.h>
ram54288 0:dbad57390bd1 24 #include <stdio.h>
ram54288 0:dbad57390bd1 25 #include "funky.h"
ram54288 0:dbad57390bd1 26 #include "stanky.h"
ram54288 0:dbad57390bd1 27 #include <setjmp.h>
ram54288 0:dbad57390bd1 28
ram54288 0:dbad57390bd1 29 /*=======External Functions This Runner Calls=====*/
ram54288 0:dbad57390bd1 30 extern void setUp(void);
ram54288 0:dbad57390bd1 31 extern void tearDown(void);
ram54288 0:dbad57390bd1 32 extern void test_TheFirstThingToTest(void);
ram54288 0:dbad57390bd1 33 extern void test_TheSecondThingToTest(void);
ram54288 0:dbad57390bd1 34 extern void test_TheThirdThingToTest(void);
ram54288 0:dbad57390bd1 35 extern void test_TheFourthThingToTest(void);
ram54288 0:dbad57390bd1 36
ram54288 0:dbad57390bd1 37
ram54288 0:dbad57390bd1 38 /*=======Suite Setup=====*/
ram54288 0:dbad57390bd1 39 static int suite_setup(void)
ram54288 0:dbad57390bd1 40 {
ram54288 0:dbad57390bd1 41 a_custom_setup();
ram54288 0:dbad57390bd1 42 }
ram54288 0:dbad57390bd1 43
ram54288 0:dbad57390bd1 44 /*=======Suite Teardown=====*/
ram54288 0:dbad57390bd1 45 static int suite_teardown(int num_failures)
ram54288 0:dbad57390bd1 46 {
ram54288 0:dbad57390bd1 47 a_custom_teardown();
ram54288 0:dbad57390bd1 48 }
ram54288 0:dbad57390bd1 49
ram54288 0:dbad57390bd1 50 /*=======Test Reset Option=====*/
ram54288 0:dbad57390bd1 51 void resetTest(void);
ram54288 0:dbad57390bd1 52 void resetTest(void)
ram54288 0:dbad57390bd1 53 {
ram54288 0:dbad57390bd1 54 tearDown();
ram54288 0:dbad57390bd1 55 setUp();
ram54288 0:dbad57390bd1 56 }
ram54288 0:dbad57390bd1 57
ram54288 0:dbad57390bd1 58
ram54288 0:dbad57390bd1 59 /*=======MAIN=====*/
ram54288 0:dbad57390bd1 60 int main(void)
ram54288 0:dbad57390bd1 61 {
ram54288 0:dbad57390bd1 62 suite_setup();
ram54288 0:dbad57390bd1 63 UnityBegin("testdata/testsample.c");
ram54288 0:dbad57390bd1 64 RUN_TEST(test_TheFirstThingToTest, 21);
ram54288 0:dbad57390bd1 65 RUN_TEST(test_TheSecondThingToTest, 43);
ram54288 0:dbad57390bd1 66 RUN_TEST(test_TheThirdThingToTest, 53);
ram54288 0:dbad57390bd1 67 RUN_TEST(test_TheFourthThingToTest, 58);
ram54288 0:dbad57390bd1 68
ram54288 0:dbad57390bd1 69 return suite_teardown(UnityEnd());
ram54288 0:dbad57390bd1 70 }