eranpeer / FakeIt

C++ mocking made easy. A simple yet very expressive, headers only library for c++ mocking.
MIT License
1.23k stars 169 forks source link

Wrap macro arguments with parentheses #189

Closed nordsturm closed 4 years ago

nordsturm commented 4 years ago

Usage example:

auto foo = std::make_shared<Mock<interface>>();
When(Method(*foo,bar)).Return(1);
coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 99.923% when pulling 6d67a1d1a6f906d89217cb248b6c09abf4b33e1e on nordsturm:macro_wrap into 317419c2e2f5a98e023a4d62628eb149fe3d3c3a on eranpeer:master.