• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
setUp(void)10 void setUp(void)
11 {
12 }
13 
tearDown(void)14 void tearDown(void)
15 {
16 }
17 
18 void test_IgnoredTest(void);
19 void test_AnotherIgnoredTest(void);
20 void test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void);
21 
test_IgnoredTest(void)22 void test_IgnoredTest(void)
23 {
24     TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose");
25 }
26 
test_AnotherIgnoredTest(void)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 
test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void)32 void test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void)
33 {
34     TEST_IGNORE(); /* Like This */
35 }
36