Skip to content

Conversation

@marcin-jelenski
Copy link
Contributor

@marcin-jelenski marcin-jelenski commented Oct 6, 2020

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.dart

Checklist

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.

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I signed the [CLA].
  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Did any tests fail when you ran them? Please read [Handling breaking changes].

  • No, no existing tests failed, so this is not a breaking change.

@flutter-dashboard flutter-dashboard bot added a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels. labels Oct 6, 2020
@flutter-dashboard
Copy link

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.

@marcin-jelenski
Copy link
Contributor Author

CC @Im-Kevin @dnfield

@goderbauer goderbauer requested a review from dnfield October 7, 2020 21:40
Copy link
Contributor

@dnfield dnfield left a 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.

@marcin-jelenski
Copy link
Contributor Author

@dnfield thank you for the review. Tests and new lines added.

Copy link
Contributor

@dnfield dnfield left a 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.

Copy link
Contributor

@dnfield dnfield left a comment

Choose a reason for hiding this comment

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

LGTM

@marcin-jelenski
Copy link
Contributor Author

@dnfield updated formatting and changed test variable names.

@dnfield
Copy link
Contributor

dnfield commented Oct 8, 2020

There are some files with trailing whitespace that need to be fixed.

@marcin-jelenski
Copy link
Contributor Author

@dnfield I've noticed just one file with unnecessary trailing spaces. Fixed.

@dnfield
Copy link
Contributor

dnfield commented Oct 8, 2020

Yes, sorry, it was just one file :) It shows up in the analyze task(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants