Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silent mocking of inlined methods #45

Open
knuton opened this issue Apr 15, 2015 · 0 comments
Open

Silent mocking of inlined methods #45

knuton opened this issue Apr 15, 2015 · 0 comments

Comments

@knuton
Copy link
Contributor

knuton commented Apr 15, 2015

It would be nice to be able to mock a class with inline methods without generating warnings. The user may be aware of the limitations regarding inline members, but still want to mock regular members. In this case the warnings only create noise.

Would it make sense to either offer a variant of mock (with some name like mockWithInline) which silently ignores inline members, or to make the warning configurable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant