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

Support for rvalue references #11

Open
APokorny opened this issue Sep 11, 2017 · 0 comments
Open

Support for rvalue references #11

APokorny opened this issue Sep 11, 2017 · 0 comments

Comments

@APokorny
Copy link

The original googlemock is pretty bad at supporting unique_ptr or rvalue references. Usually I went for the workaround outlined here: https://stackoverflow.com/questions/12088537/workaround-for-gmock-to-support-rvalue-reference
Now with GUnit/GMock how would I mock a method with && parameters and capture the value via utilities like SaveArg?

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