aboutsummaryrefslogtreecommitdiff
path: root/tests/unity/examples/example_1/test/TestProductionCode2.c
diff options
context:
space:
mode:
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 */
+}