aboutsummaryrefslogtreecommitdiff
path: root/tests/unity/examples/example_1/test/TestProductionCode2.c
diff options
context:
space:
mode:
authorMax Bruckner <max@maxbruckner.de>2017-02-07 21:30:57 +0100
committerMax Bruckner <max@maxbruckner.de>2017-02-07 21:30:57 +0100
commitd19f3ae890699d4f983a49bd8f7ee9a3af593ea0 (patch)
tree0855cd81c77ac453381c3a1804c629d90a30f55c /tests/unity/examples/example_1/test/TestProductionCode2.c
parente65ea3a45bb467b929b5641044eaab77f415e12e (diff)
parent6b9b57be226a505a9c9cdd9ed029f22495ce04ec (diff)
downloadcjson-d19f3ae890699d4f983a49bd8f7ee9a3af593ea0.tar.gz
cjson-d19f3ae890699d4f983a49bd8f7ee9a3af593ea0.zip
Merge commit '6b9b57be226a505a9c9cdd9ed029f22495ce04ec' as 'tests/unity'
Diffstat (limited to 'tests/unity/examples/example_1/test/TestProductionCode2.c')
-rw-r--r--tests/unity/examples/example_1/test/TestProductionCode2.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/unity/examples/example_1/test/TestProductionCode2.c b/tests/unity/examples/example_1/test/TestProductionCode2.c
new file mode 100644
index 0000000..7d940c1
--- /dev/null
+++ b/tests/unity/examples/example_1/test/TestProductionCode2.c
@@ -0,0 +1,31 @@
+
+#include "ProductionCode2.h"
+#include "unity.h"
+
+/* These should be ignored because they are commented out in various ways:
+#include "whatever.h"
+#include "somethingelse.h"
+*/
+
+void setUp(void)
+{
+}
+
+void tearDown(void)
+{
+}
+
+void test_IgnoredTest(void)
+{
+ TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose");
+}
+
+void test_AnotherIgnoredTest(void)
+{
+ TEST_IGNORE_MESSAGE("These Can Be Useful For Leaving Yourself Notes On What You Need To Do Yet");
+}
+
+void test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void)
+{
+ TEST_IGNORE(); /* Like This */
+}