trompeloeil
trompeloeil copied to clipboard
Generic MOCK_METHOD
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.
I believe you mean issue #28. Anyone who can figure out how to implement it is most welcome to.
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?