cJSON
[Ported from github.com/DaveGamble/cJSON] Fix: heap-use-after-free in merge_patch when patch is subtree of target (#1065)
Brought by drakestapleton
cJSON / tests / unity / examples / example_3 / test / TestProductionCode2.c
| 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 | */ |
| 8 | //#include "somethingelse.h" |
| 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 | } |