Skip to content

Releases: DNKpp/mimicpp

v5

15 Dec 19:09
Compare
Choose a tag to compare

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 signature related traits and concepts:
    • signature_call_convention(_t)-trait
    • signature_remove_call_convention(_t)-trait
    • call_convention_traits-trait
    • signature_remove_ref_qualifier(_t)-trait
    • signature_remove_const_qualifier(_t)-trait
    • signature_const_qualification(_v)-trait
    • signature_ref_qualification(_v)-trait
    • signature_is_noexcept(_v)-trait
    • has_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

25 Oct 15:14
Compare
Choose a tag to compare
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 to std::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

Full Changelog: v3...v4

v3

12 Oct 18:37
Compare
Choose a tag to compare
v3

What's Changed

  • Replace optional cpp-unicodelib dependency with uni-algo
  • Printable std::optional and std::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

v2

06 Oct 10:47
Compare
Choose a tag to compare
v2
fix: use markdown syntax instead of html-tag

v1

28 Sep 22:59
Compare
Choose a tag to compare
v1
docs: update godbolt link