diff options
author | Max Bruckner <max@maxbruckner.de> | 2017-02-07 21:30:57 +0100 |
---|---|---|
committer | Max Bruckner <max@maxbruckner.de> | 2017-02-07 21:30:57 +0100 |
commit | d19f3ae890699d4f983a49bd8f7ee9a3af593ea0 (patch) | |
tree | 0855cd81c77ac453381c3a1804c629d90a30f55c /tests/unity/examples/example_2/test/TestProductionCode2.c | |
parent | e65ea3a45bb467b929b5641044eaab77f415e12e (diff) | |
parent | 6b9b57be226a505a9c9cdd9ed029f22495ce04ec (diff) | |
download | cjson-d19f3ae890699d4f983a49bd8f7ee9a3af593ea0.tar.gz cjson-d19f3ae890699d4f983a49bd8f7ee9a3af593ea0.zip |
Merge commit '6b9b57be226a505a9c9cdd9ed029f22495ce04ec' as 'tests/unity'
Diffstat (limited to 'tests/unity/examples/example_2/test/TestProductionCode2.c')
-rw-r--r-- | tests/unity/examples/example_2/test/TestProductionCode2.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/unity/examples/example_2/test/TestProductionCode2.c b/tests/unity/examples/example_2/test/TestProductionCode2.c new file mode 100644 index 0000000..d9f4efe --- /dev/null +++ b/tests/unity/examples/example_2/test/TestProductionCode2.c @@ -0,0 +1,33 @@ +#include "ProductionCode2.h" +#include "unity.h" +#include "unity_fixture.h" + +TEST_GROUP(ProductionCode2); + +/* These should be ignored because they are commented out in various ways: +#include "whatever.h" +*/ +//#include "somethingelse.h" + +TEST_SETUP(ProductionCode2) +{ +} + +TEST_TEAR_DOWN(ProductionCode2) +{ +} + +TEST(ProductionCode2, IgnoredTest) +{ + TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose"); +} + +TEST(ProductionCode2, AnotherIgnoredTest) +{ + TEST_IGNORE_MESSAGE("These Can Be Useful For Leaving Yourself Notes On What You Need To Do Yet"); +} + +TEST(ProductionCode2, ThisFunctionHasNotBeenTested_NeedsToBeImplemented) +{ + TEST_IGNORE(); //Like This +} |