Skip to content

Conversation

@Hixie
Copy link
Contributor

@Hixie Hixie commented Mar 6, 2021

The referenced issue (#51885) is now closed.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@flutter-dashboard flutter-dashboard bot added the c: contributor-productivity Team-specific productivity, code health, technical debt. label Mar 6, 2021
@google-cla google-cla bot added the cla: yes label Mar 6, 2021
@Hixie
Copy link
Contributor Author

Hixie commented Mar 6, 2021

cc @dnfield

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 assuming tests pass

@Hixie
Copy link
Contributor Author

Hixie commented Mar 10, 2021

@yjbanov Can you give me any advice here?

@Hixie
Copy link
Contributor Author

Hixie commented Mar 13, 2021

Ok well I figured out why what we'd changed didn't fix it.

Turns out, before each test, we call tester.resetTestTextInput regardless of whether binding.registerTestTextInput is set to true or not, and that reregisters the TestTextInput class regardless.

Also it turns out tests (including public documentation) depends on tester.enterText working even when registerTestTextInput is false.

@Hixie Hixie force-pushed the todo51885 branch 3 times, most recently from a50adf4 to f287323 Compare March 14, 2021 21:02
The referenced issue is now closed.
@Hixie Hixie marked this pull request as ready for review March 14, 2021 21:25
@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 Mar 14, 2021
@Hixie
Copy link
Contributor Author

Hixie commented Mar 14, 2021

Ok I did some refactoring and cleaned this stuff up so now it passes. Hopefully this passes google3 too...

@Hixie
Copy link
Contributor Author

Hixie commented Mar 15, 2021

cc @goderbauer for flutter_test changes

@Hixie
Copy link
Contributor Author

Hixie commented Mar 15, 2021

cc @yjbanov since it affects web_e2e_tests

Copy link
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

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

LGTM

@fluttergithubbot fluttergithubbot merged commit 5e4e530 into flutter:master Mar 16, 2021
angjieli added a commit that referenced this pull request Mar 18, 2021
angjieli added a commit that referenced this pull request Mar 19, 2021
angjieli added a commit to angjieli/flutter1 that referenced this pull request Mar 19, 2021
angjieli added a commit that referenced this pull request Mar 19, 2021
Hixie added a commit to Hixie/flutter that referenced this pull request Mar 19, 2021
@Hixie Hixie mentioned this pull request Mar 19, 2021
8 tasks
@Hixie Hixie mentioned this pull request Mar 25, 2021
8 tasks
Hixie added a commit to Hixie/flutter that referenced this pull request Apr 3, 2021
fluttergithubbot pushed a commit that referenced this pull request Apr 3, 2021
justinmc added a commit that referenced this pull request Apr 7, 2021
renyou pushed a commit that referenced this pull request Apr 7, 2021
Hixie added a commit to Hixie/flutter that referenced this pull request Apr 21, 2021
...and remove a legacy TODO whose referenced issue (flutter#51885) is now closed.

To actually fix this required some refactoring of the text editing test APIs.

See flutter#77454 and flutter#79061 for earlier discussions. This was last reverted in flutter#79559.
Hixie added a commit to Hixie/flutter that referenced this pull request May 14, 2021
* Moves the handlePlatformMessage logic to using ChannelBuffers.
* Moves the testing APIs from services library to flutter_test.
* Refactors text editing test APIs.
* This is a reland of flutter#76288 and flutter#78637.

See flutter#77454, flutter#79061, flutter#80003, flutter#81235, and flutter#82057 for earlier discussions. This was last reverted in flutter#82525.
@Hixie Hixie mentioned this pull request May 14, 2021
8 tasks
Hixie added a commit to Hixie/flutter that referenced this pull request May 21, 2021
* Moves the handlePlatformMessage logic to using ChannelBuffers.
* Moves the testing APIs from services library to flutter_test.
* Refactors text editing test APIs.
* This is a reland of flutter#76288 and flutter#78637.

See flutter#77454, flutter#79061, flutter#80003, flutter#81235, and flutter#82057 for earlier discussions. This was last reverted in flutter#82525.
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 c: contributor-productivity Team-specific productivity, code health, technical debt. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants