Sha256: edfc713afba4862eb4799fecbb2c70fc51e5fb22158a882ae64068ea6541a024

Contents?: true

Size: 1.75 KB

Versions: 10

Compression:

Stored size: 1.75 KB

Contents

//- Copyright (c) 2010 James Grenning and Contributed to Unity Project
/* ==========================================
    Unity Project - A Test Framework for C
    Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
    [Released under MIT License. Please refer to license.txt for details]
========================================== */

#include "unity_fixture.h"

TEST_GROUP_RUNNER(UnityFixture)
{
    RUN_TEST_CASE(UnityFixture, PointerSetting);
    RUN_TEST_CASE(UnityFixture, ForceMallocFail);
    RUN_TEST_CASE(UnityFixture, ReallocSmallerIsUnchanged);
    RUN_TEST_CASE(UnityFixture, ReallocSameIsUnchanged);
    RUN_TEST_CASE(UnityFixture, ReallocLargerNeeded);
    RUN_TEST_CASE(UnityFixture, ReallocNullPointerIsLikeMalloc);
    RUN_TEST_CASE(UnityFixture, ReallocSizeZeroFreesMemAndReturnsNullPointer);
    RUN_TEST_CASE(UnityFixture, CallocFillsWithZero);
    RUN_TEST_CASE(UnityFixture, PointerSet);
}

TEST_GROUP_RUNNER(UnityCommandOptions)
{
    RUN_TEST_CASE(UnityCommandOptions, DefaultOptions);
    RUN_TEST_CASE(UnityCommandOptions, OptionVerbose);
    RUN_TEST_CASE(UnityCommandOptions, OptionSelectTestByGroup);
    RUN_TEST_CASE(UnityCommandOptions, OptionSelectTestByName);
    RUN_TEST_CASE(UnityCommandOptions, OptionSelectRepeatTestsDefaultCount);
    RUN_TEST_CASE(UnityCommandOptions, OptionSelectRepeatTestsSpecificCount);
    RUN_TEST_CASE(UnityCommandOptions, MultipleOptions);
    RUN_TEST_CASE(UnityCommandOptions, MultipleOptionsDashRNotLastAndNoValueSpecified);
    RUN_TEST_CASE(UnityCommandOptions, UnknownCommandIsIgnored);
}

TEST_GROUP_RUNNER(LeakDetection)
{
    RUN_TEST_CASE(LeakDetection, DetectsLeak);
    RUN_TEST_CASE(LeakDetection, BufferOverrunFoundDuringFree);
    RUN_TEST_CASE(LeakDetection, BufferOverrunFoundDuringRealloc);
}

Version data entries

10 entries across 9 versions & 1 rubygems

Version Path
ceedling-0.19.0 vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c
ceedling-0.19.0 vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c
ceedling-0.18.0 vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c
ceedling-0.17.0 vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c
ceedling-0.16.0 vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c
ceedling-0.15.6 vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c
ceedling-0.15.5 vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c
ceedling-0.15.4 vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c
ceedling-0.15.3 vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c
ceedling-0.15.2 vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c