Debian Codegraph @

vendor/unity/examples/example_1/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 {
20 TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose");
21 }
22
23 void test_AnotherIgnoredTest(void)
24 {
25 TEST_IGNORE_MESSAGE("These Can Be Useful For Leaving Yourself Notes On What You Need To Do Yet");
26 }
27
28 void test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void)
29 {
30 TEST_IGNORE(); /* Like This */
31 }