-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Flutter Driver - Create widget finders from serialized finders extensions #67456
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
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
dnfield
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.
This seems reasonable, but needs some test(s) that would have failed without this change.
packages/flutter_driver/lib/src/common/create_finder_factory.dart
Outdated
Show resolved
Hide resolved
|
@dnfield thank you for the review. Tests and new lines added. |
packages/flutter_driver/test/src/real_tests/extension_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_driver/test/src/real_tests/extension_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_driver/test/src/real_tests/extension_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_driver/test/src/real_tests/extension_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_driver/test/src/real_tests/extension_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_driver/test/src/real_tests/extension_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_driver/test/src/real_tests/extension_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter_driver/test/src/real_tests/stubs/stub_finder_extension.dart
Outdated
Show resolved
Hide resolved
packages/flutter_driver/test/src/real_tests/stubs/stub_finder_extension.dart
Outdated
Show resolved
Hide resolved
dnfield
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.
Mostly style nits.
We don't use dartfmt here. If you wan tto try to use it, make sure to at least increase the line length limit to something like 120, and that should get you pretty close to flutter style.
dnfield
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
|
@dnfield updated formatting and changed test variable names. |
|
There are some files with trailing whitespace that need to be fixed. |
|
@dnfield I've noticed just one file with unnecessary trailing spaces. Fixed. |
|
Yes, sorry, it was just one file :) It shows up in the |
Description
Pull Request #64308 introduced extensions for flutter driver finders. It was incomplete, as the driver isn't really creating finders. This PR solves the issue by calling
FinderExtension::createFinder.Related Issues
#64308
Tests
packages/flutter_driver/test/src/real_tests/extension_test.dartChecklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Did any tests fail when you ran them? Please read [Handling breaking changes].