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_2 / test / TestProductionCode2.c

33 lines · 664 bytes Raw Blame History
1#include "ProductionCode2.h"
2#include "unity.h"
3#include "unity_fixture.h"
4
5TEST_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
12TEST_SETUP(ProductionCode2)
13{
14}
15
16TEST_TEAR_DOWN(ProductionCode2)
17{
18}
19
20TEST(ProductionCode2, IgnoredTest)
21{
22 TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose");
23}
24
25TEST(ProductionCode2, AnotherIgnoredTest)
26{
27 TEST_IGNORE_MESSAGE("These Can Be Useful For Leaving Yourself Notes On What You Need To Do Yet");
28}
29
30TEST(ProductionCode2, ThisFunctionHasNotBeenTested_NeedsToBeImplemented)
31{
32 TEST_IGNORE(); //Like This
33}