Repository navigation
New Features:
- Significant improvements to array and pointer handling:
- Arrays are now passed as arrays. Yes, even multidimensional ones. (Fixes #69, #119, #213, #422)
- Array plugin now supports comparing
char*(string) arguments as byte arrays via_ExpectWithArray, while still treating them as strings via_Expect(Fixes #262 and #177) - Improved automatic detection of pointer/length argument pairs (Fixes #520)
- When a pointer is auto-paired with a size argument,
_ExpectWithArrayExtendedis also generated as a fallback to allow explicit depth override (Fixes #476) void*arguments now default to pointer comparison without the array plugin, and to byte-by-byte comparison when the array plugin is active (Fixes #400)- Handles simple preprocessor features like #if 1 and #if 0 (Fixes #163)
- Ignores static assertions of various types (Fixes #128)
- Added option to trace all mock setup and mocked calls (Implements #403)
- Significant improvements to header parsing speed
Significant Bugfixes:
- Fixed matching of pointer/len argument pairs in reverse order (Fixes #479)
- Fixed handling of array of pointers or a pointer to an array (Fixes #450)
- Fixed const and pointer order handling issues (Fixes #484 and #485)
- Fixed handling of skeleton paths (Fixes #488)
- Fixed handling of memory alignment issues (Fixes #178)
- Fixed handling of failures in teardown (#67)
- Improved handling of function-looking structs (Fixes #513 and #334)
- Improved handling of function-looking macros (Fixes #502)
- Improved handling of volatiles (Fixes #110 and #135)
- Improved handling of stub and callback counters (Fixes #132)
- Improved handling and testing of Windows (Fixes #435)
Other:
- Added verification that memory errors are reported and stop tests (Verifies #463)
- Added verification that CMock features pass Valgrind (Verifies #506)
- Documented custom type support (#124)
Major Code/Doc Contributors
These individuals contributed significant features, bugfixes, and improvements.
- Mark VanderVoord
- Roland Stahn
- bal-stan
Also, thanks for your contributions!
Matt Sullivan, Peter Backeman, ml-physec, yi chen