MOCK_METHOD arguments limit of 15? #4602
Answered
by
bmaxdk
PiotrNycz
asked this question in
Community Help
-
Has MOCK_METHOD macro hard limit on number of arguments to 15? |
Beta Was this translation helpful? Give feedback.
Answered by
bmaxdk
Aug 25, 2024
Replies: 1 comment 1 reply
-
Looks it has:
but just want confirmation this is desired behavior - and what about documenting it? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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