diff options
Diffstat (limited to 'FreeRTOS-Plus/Test/CMock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c')
-rw-r--r-- | FreeRTOS-Plus/Test/CMock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/FreeRTOS-Plus/Test/CMock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c b/FreeRTOS-Plus/Test/CMock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c new file mode 100644 index 000000000..41a416a6e --- /dev/null +++ b/FreeRTOS-Plus/Test/CMock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c @@ -0,0 +1,11 @@ +#include "unity.h" +#include "unity_fixture.h" + +TEST_GROUP_RUNNER(ProductionCode) +{ + RUN_TEST_CASE(ProductionCode, FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrokenCode); + RUN_TEST_CASE(ProductionCode, FindFunction_WhichIsBroken_ShouldReturnTheIndexForItemsInList_WhichWillFailBecauseOurFunctionUnderTestIsBroken); + RUN_TEST_CASE(ProductionCode, FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValue); + RUN_TEST_CASE(ProductionCode, FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValueAgain); + RUN_TEST_CASE(ProductionCode, FunctionWhichReturnsLocalVariable_ShouldReturnCurrentCounter_ButFailsBecauseThisTestIsActuallyFlawed); +}
\ No newline at end of file |