Skip to content

MOCK_METHOD arguments limit of 15? #4602

Discussion options

You must be logged in to vote

Yes upto 15. This article mentions that the MOCK_METHOD macro traditionally has a hard limit of 10 arguments due to internal constraints, but an extension was created to allow up to 15 arguments.

I agree with you. It's better to documented with this limit in the official documentation to help to understand

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bmaxdk
Comment options

Answer selected by PiotrNycz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants