Releases: DNKpp/mimicpp
Releases · DNKpp/mimicpp
v5
Changes
- Use clang-format instead of resharper code-style.
- Make
ExpectationBuilder
more compiler-friendly. - Make
is_overload_set
-trait more efficient.
Additions
- Support for call-conventions (like
__stdcall
on windows)- New
MIMICPP_REGISTER_CALL_CONVENTION
macro
- New
- New signature related traits and concepts:
signature_call_convention(_t)
-traitsignature_remove_call_convention(_t)
-traitcall_convention_traits
-traitsignature_remove_ref_qualifier(_t)
-traitsignature_remove_const_qualifier(_t)
-traitsignature_const_qualification(_v)
-traitsignature_ref_qualification(_v)
-traitsignature_is_noexcept(_v)
-traithas_default_call_convention
-concept
- Added some 32bit configurations to the build-pipeline
Fixes
- Apply correct width, when printing pointers in 32bit builds.
MIMICPP_MOCK_METHOD
handles parenthesized return types correctly (see issue #75 )MIMICPP_MOCK_METHOD
correctly expands parameter-packs (see issue #76 )MIMICPP_MOCK_METHOD
respects the ref-ness of the mocked function (see issue #77 )
Full Changelog: v4...v5
v4
Changes
- Print support for pointer-types (and
std::nullptr_t
) - New
matches::instance
matcher - New
matches::range::each_element
matcher - New
matches::range::any_element
matcher - Doctest Test-Framework-Adapter
DefaultReporter
writes failures tostd::cerr
- Extend string customization and related documentation
Fixes
- Correct several typos in
InstallRules.cmake
[see #60] (thanks to @nickdademo für pointing this out)
Others
mimic++
is now officially available on godbolt.org
Full Changelog: v3...v4
v3
What's Changed
- Replace optional
cpp-unicodelib
dependency withuni-algo
- Printable
std::optional
andstd::nullopt_t
- Printable tuple-likes
- Use
matches::str::eq
for string arguments when in-place expectation is used - Lifetime-Watcher
- RelocationWatcher
- Enable heavy warnings and treat them as error in test targets
- CMake Improvements (thanks to @5cript, who initiated this process)
New Contributors
Full Changelog: v2...v3