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 / extras / fixture / test / main / AllTests.c
| 1 | /* Copyright (c) 2010 James Grenning and Contributed to Unity Project |
| 2 | * ========================================== |
| 3 | * Unity Project - A Test Framework for C |
| 4 | * Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams |
| 5 | * [Released under MIT License. Please refer to license.txt for details] |
| 6 | * ========================================== */ |
| 7 | |
| 8 | #include "unity_fixture.h" |
| 9 | |
| 10 | static void runAllTests(void) |
| 11 | { |
| 12 | RUN_TEST_GROUP(UnityFixture); |
| 13 | RUN_TEST_GROUP(UnityCommandOptions); |
| 14 | RUN_TEST_GROUP(LeakDetection); |
| 15 | RUN_TEST_GROUP(InternalMalloc); |
| 16 | } |
| 17 | |
| 18 | int main(int argc, const char* argv[]) |
| 19 | { |
| 20 | return UnityMain(argc, argv, runAllTests); |
| 21 | } |
| 22 |