Debian Codegraph @

vendor/unity/examples/example_4/test/TestProductionCode2.c

raw
1
2 #include "ProductionCode2.h"
3 #include "unity.h"
4
5 /* These should be ignored because they are commented out in various ways:
6 #include "whatever.h"
7 #include "somethingelse.h"
8 */
9
10 void setUp(void)
11 {
12 }
13
14 void tearDown(void)
15 {
16 }
17
18 void test_IgnoredTest(void);
19 void test_AnotherIgnoredTest(void);
20 void test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void);
21
22 void test_IgnoredTest(void)
23 {
24 TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose");
25 }
26
27 void test_AnotherIgnoredTest(void)
28 {
29 TEST_IGNORE_MESSAGE("These Can Be Useful For Leaving Yourself Notes On What You Need To Do Yet");
30 }
31
32 void test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void)
33 {
34 TEST_IGNORE(); /* Like This */
35 }