-
Notifications
You must be signed in to change notification settings - Fork 6k
Replaces bespoke call captures from mock gles with gmock #56995
Conversation
jonahwilliams
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
TBH I don't really like gmock and its macros that much, but being able to capture arguments seems useful.
Yea, what we had before was just an inferior non-standard alternative to gmock. Hopefully this convinces you there are good times to use it. |
|
reason for revert: compilation error at head. |
|
Oh, you think this is just a case of stale presubmits? Could be. |
)" This reverts commit 9eb1c7d.
…6995)" (#57016) Reverts: #56995 Initiated by: jonahwilliams Reason for reverting: compilation error at head. Original PR Author: gaaclarke Reviewed By: {jonahwilliams} This change reverts the following previous change: test exempt: test only code [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
|
This PR seems to have caused errors in the Flutter benchmark builds (golem) 70 | auto mock_gles = MockGLES::Init(extensions); |
test exempt: test only code ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide] and the [C++, Objective-C, Java style guides]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I added new tests to check the change I am making or feature I am adding, or the PR is [test-exempt]. See [testing the engine] for instructions on writing and running engine tests. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I signed the [CLA]. - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#overview [Tree Hygiene]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md [test-exempt]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#tests [Flutter Style Guide]: https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style [testing the engine]: https://github.com/flutter/engine/blob/main/docs/testing/Testing-the-engine.md [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
) relands #56995 It previously landed with stale presubmits, this should be up to date now. I have the fix in a separate commit. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
…159909) flutter/engine@31ba1e0...d42645f 2024-12-06 [email protected] Reland: Replaces bespoke call captures from mock gles with gmock (flutter/engine#57019) 2024-12-06 [email protected] Roll Skia from c9647f13cded to 0d94e966268b (36 revisions) (flutter/engine#57023) 2024-12-06 [email protected] iOS: add null check on create impeller context (flutter/engine#56952) 2024-12-06 [email protected] Roll Dart SDK from 9c9a333c496c to 67ce49b905f7 (2 revisions) (flutter/engine#57013) 2024-12-06 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Replaces bespoke call captures from mock gles with gmock (#56995)" (flutter/engine#57016) 2024-12-06 [email protected] Replaces bespoke call captures from mock gles with gmock (flutter/engine#56995) 2024-12-06 [email protected] [Impeller] Require the GLES multisampled_render_to_texture2 extension for offscreen MSAA (flutter/engine#56997) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…ine#56995) test exempt: test only code ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide] and the [C++, Objective-C, Java style guides]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I added new tests to check the change I am making or feature I am adding, or the PR is [test-exempt]. See [testing the engine] for instructions on writing and running engine tests. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I signed the [CLA]. - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#overview [Tree Hygiene]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md [test-exempt]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#tests [Flutter Style Guide]: https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style [testing the engine]: https://github.com/flutter/engine/blob/main/docs/testing/Testing-the-engine.md [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
…utter#56995)" (flutter/engine#57016) Reverts: flutter/engine#56995 Initiated by: jonahwilliams Reason for reverting: compilation error at head. Original PR Author: gaaclarke Reviewed By: {jonahwilliams} This change reverts the following previous change: test exempt: test only code [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
…tter/engine#57019) relands flutter/engine#56995 It previously landed with stale presubmits, this should be up to date now. I have the fix in a separate commit. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
test exempt: test only code
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.