mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 08:25:58 +01:00
Revert part of commit 77af37ad, code looked like a temporary change
The behavior is back to the original, printing "....!..." in quiet mode
Added an ignored test to Fixture for visual inspection
44 lines
1.9 KiB
C
44 lines
1.9 KiB
C
//- 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);
|
|
RUN_TEST_CASE(UnityFixture, FreeNULLSafety);
|
|
}
|
|
|
|
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);
|
|
RUN_TEST_CASE(UnityCommandOptions, TestShouldBeIgnored);
|
|
}
|
|
|
|
TEST_GROUP_RUNNER(LeakDetection)
|
|
{
|
|
RUN_TEST_CASE(LeakDetection, DetectsLeak);
|
|
RUN_TEST_CASE(LeakDetection, BufferOverrunFoundDuringFree);
|
|
RUN_TEST_CASE(LeakDetection, BufferOverrunFoundDuringRealloc);
|
|
}
|