interplane.Get Omega
Read in your language

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

branch master Branches Tags History

cJSON / tests / unity / examples / example_1 / test / TestProductionCode2.c

31 lines · 567 bytes Raw Blame History
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
10void setUp(void)
11{
12}
13
14void tearDown(void)
15{
16}
17
18void test_IgnoredTest(void)
19{
20 TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose");
21}
22
23void 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
28void test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void)
29{
30 TEST_IGNORE(); /* Like This */
31}