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

Compile failed with the wrong usage of gmock. #425

Open
dangleptr opened this issue Apr 25, 2021 · 0 comments
Open

Compile failed with the wrong usage of gmock. #425

dangleptr opened this issue Apr 25, 2021 · 0 comments

Comments

@dangleptr
Copy link

I am trying to compile some UTs in fbthrift.
When i am trying to build 'thrift/lib/cpp2/test/RetryingRequestChannelTest.cpp', it failed because of gmock don't support move-only types , such as unique_ptr in codegen interface. (https://fuchsia.googlesource.com/third_party/googletest/+/HEAD/googlemock/docs/cook_book.md#mocking-methods-that-use-move_only-types)

So i want to know how did your guys build the UT?

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