Björn Fahller
Björn Fahller
Thank you @tagsemb . I'm not sure I understand that error, but I'm glad the latest version does work with your example code. https://godbolt.org/z/1c9Rv1 Why is `all_of` a lambda, @Neargye?...
This is excellent, @bxk-sonavex. Please submit a PR with an updated CMakeLists.txt (where this requirement is for MSVC only).
Wow, this is interesting. I agree that it's desirable that it should work, but I have no idea at all about how to make it work. The macro expands to...
Hmm, are you sure that is the right way to go? The `CMakeLists.txt` file may be used by clients who do not wish to be bothered with our CI setup....
So, I have asked around, and everybody says "Use CMake toolchain file for this". A few specified "toolchain files for the general compiler setup, and then CMake presets for the...
With a bit of trickery, you can, for virtual functions. ```Cpp class C { public: virtual int foo(int x, int y) { ... } }; using trompeloeil::_; class SpyC :...
An alternative technique: ```Cpp class MockC : public C { public: MAKE_MOCK2(foo, int(int,int)); }; ``` and use with explicitly pointing out the base in a RETURN from the test ```Cpp...
Unfortunately that won't work, for two reasons. 1. `REQUIRE_CALL()` expands to a complete function call and the return value from that is what `.RETURN` (or in your case `.RETURN_BASE`) calls...
One detail I notice is that `send_ok_report()` accepts a `std::string const&`, and passes it to `reporter::sendOk()` as a c-string. But the only call to `send_ok_report()` passes a call_matcher's name, and...
I tried this with latest `trompeloeil.hpp` from `main`, and latest `distortos` from `master`. When build with `-fsanitize=address,undefined`, the test program `C-API-ConditionVariable-unit-test-0` get a use-after-free report from ASAN. ``` bjorn@protopteryx /t/1>...