Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Conversation

@sergiud
Copy link
Contributor

@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
Contributor 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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants