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

added gmock support #720

Merged
merged 1 commit into from
Oct 7, 2021
Merged

added gmock support #720

merged 1 commit into from
Oct 7, 2021

Conversation

sergiud
Copy link
Collaborator

@sergiud sergiud commented Oct 7, 2021

This PR adds missing Google Mock support. Since mocking relies on internal functions some refactoring is necessary. Specifically, to avoid the export of internal functions, the corresponding code is compiled to object files that are eventually reused in tests.

@google-cla google-cla bot added the cla: yes label Oct 7, 2021
@sergiud sergiud added this to the 0.6 milestone Oct 7, 2021
@sergiud sergiud requested a review from drigz October 7, 2021 17:35
@drigz
Copy link
Member

drigz commented Oct 7, 2021

I must admit, I don't understand the change as a whole or the integration to GMock, but the changes to glog.bzl LGTM.

@sergiud
Copy link
Collaborator Author

sergiud commented Oct 7, 2021

Thanks! This is what I was looking for.

@sergiud sergiud merged commit acda903 into master Oct 7, 2021
@sergiud sergiud deleted the gmock-support branch October 7, 2021 18:12
@sergiud sergiud mentioned this pull request Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants