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 ========================================== */
8 #include "unity_fixture.h"
10 TEST_GROUP_RUNNER(UnityFixture)
12 RUN_TEST_CASE(UnityFixture, PointerSetting);
13 RUN_TEST_CASE(UnityFixture, ForceMallocFail);
14 RUN_TEST_CASE(UnityFixture, ReallocSmallerIsUnchanged);
15 RUN_TEST_CASE(UnityFixture, ReallocSameIsUnchanged);
16 RUN_TEST_CASE(UnityFixture, ReallocLargerNeeded);
17 RUN_TEST_CASE(UnityFixture, ReallocNullPointerIsLikeMalloc);
18 RUN_TEST_CASE(UnityFixture, ReallocSizeZeroFreesMemAndReturnsNullPointer);
19 RUN_TEST_CASE(UnityFixture, CallocFillsWithZero);
20 RUN_TEST_CASE(UnityFixture, PointerSet);
23 TEST_GROUP_RUNNER(UnityCommandOptions)
25 RUN_TEST_CASE(UnityCommandOptions, DefaultOptions);
26 RUN_TEST_CASE(UnityCommandOptions, OptionVerbose);
27 RUN_TEST_CASE(UnityCommandOptions, OptionSelectTestByGroup);
28 RUN_TEST_CASE(UnityCommandOptions, OptionSelectTestByName);
29 RUN_TEST_CASE(UnityCommandOptions, OptionSelectRepeatTestsDefaultCount);
30 RUN_TEST_CASE(UnityCommandOptions, OptionSelectRepeatTestsSpecificCount);
31 RUN_TEST_CASE(UnityCommandOptions, MultipleOptions);
32 RUN_TEST_CASE(UnityCommandOptions, MultipleOptionsDashRNotLastAndNoValueSpecified);
35 TEST_GROUP_RUNNER(LeakDetection)
37 RUN_TEST_CASE(LeakDetection, DetectsLeak);
38 RUN_TEST_CASE(LeakDetection, BufferOverrunFoundDuringFree);
39 RUN_TEST_CASE(LeakDetection, BufferOverrunFoundDuringRealloc);