trompeloeil icon indicating copy to clipboard operation
trompeloeil copied to clipboard

Generic MOCK_METHOD

Open Leon0402 opened this issue 4 years ago • 2 comments

Hi,

I wonder if it would be possible to add a generic MOCK_METHOD like in GMock, which replaces all or most of the special MOCK_METHOD<Number> and similar things?

I assumed that someone else would already have asked that, but I couldn't find any issue for it.

Leon0402 avatar Sep 26 '21 10:09 Leon0402

I believe you mean issue #28. Anyone who can figure out how to implement it is most welcome to.

rollbear avatar Sep 26 '21 11:09 rollbear

Ahh right, Coudln't find that issue. Have you had a look at GMock? They have implemented it, so maybe that can give some inspiration?

Leon0402 avatar Sep 26 '21 12:09 Leon0402