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

test: add explicit ctor/dtor to more mocks #4423

Merged
merged 5 commits into from
Sep 17, 2018
Merged

Conversation

snowp
Copy link
Contributor

@snowp snowp commented Sep 14, 2018

Description: As per https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#making-the-compilation-faster, moving ctor/dtor definition out of the header files can lead to faster builds.
Risk Level: Low, minor refactor
Testing: Run CI
Docs Changes: n/a
Release Notes: n/a

Signed-off-by: Snow Pettersen <[email protected]>
zuercher
zuercher previously approved these changes Sep 14, 2018
@zuercher
Copy link
Member

Looks like CircleCI is having trouble again.

@snowp
Copy link
Contributor Author

snowp commented Sep 14, 2018

Yeah, I'll keep an eye on their status update and rerun CI once they recover

Signed-off-by: Snow Pettersen <[email protected]>
@snowp
Copy link
Contributor Author

snowp commented Sep 14, 2018

@zuercher Reran the tests, we're green now!

htuch
htuch previously approved these changes Sep 14, 2018
Copy link
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like merge conflict to resolve.

@zuercher zuercher self-assigned this Sep 14, 2018
@snowp snowp dismissed stale reviews from htuch and zuercher via 6a22166 September 15, 2018 16:28
@@ -122,7 +130,13 @@ MockClusterUpdateCallbacks::MockClusterUpdateCallbacks() {}

MockClusterUpdateCallbacks::~MockClusterUpdateCallbacks() {}


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like removing line 133 makes the formatter happy.

Signed-off-by: Snow Pettersen <[email protected]>
Copy link
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@htuch htuch merged commit b3645c2 into envoyproxy:master Sep 17, 2018
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

Successfully merging this pull request may close these issues.

4 participants