• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "ProductionCode2.h"
2 #include "unity.h"
3 #include "unity_fixture.h"
4 
5 TEST_GROUP(ProductionCode2);
6 
7 /* These should be ignored because they are commented out in various ways:
8 #include "whatever.h"
9 */
10 //#include "somethingelse.h"
11 
TEST_SETUP(ProductionCode2)12 TEST_SETUP(ProductionCode2)
13 {
14 }
15 
TEST_TEAR_DOWN(ProductionCode2)16 TEST_TEAR_DOWN(ProductionCode2)
17 {
18 }
19 
TEST(ProductionCode2,IgnoredTest)20 TEST(ProductionCode2, IgnoredTest)
21 {
22     TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose");
23 }
24 
TEST(ProductionCode2,AnotherIgnoredTest)25 TEST(ProductionCode2, AnotherIgnoredTest)
26 {
27     TEST_IGNORE_MESSAGE("These Can Be Useful For Leaving Yourself Notes On What You Need To Do Yet");
28 }
29 
TEST(ProductionCode2,ThisFunctionHasNotBeenTested_NeedsToBeImplemented)30 TEST(ProductionCode2, ThisFunctionHasNotBeenTested_NeedsToBeImplemented)
31 {
32     TEST_IGNORE(); //Like This
33 }
34