Skip to content

Refactor text editing test APIs (Mark III) #80003

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

Merged
merged 1 commit into from
Apr 22, 2021

Conversation

Hixie
Copy link
Contributor

@Hixie Hixie commented Apr 8, 2021

...and remove a legacy TODO whose referenced issue (#51885) is now closed.

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

See #77454 and #79061 for earlier discussions. This was last reverted in #79959.

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 a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels. c: contributor-productivity Team-specific productivity, code health, technical debt. labels Apr 8, 2021
@google-cla google-cla bot added the cla: yes label Apr 8, 2021
@Hixie Hixie marked this pull request as ready for review April 20, 2021 19:35
@Hixie
Copy link
Contributor Author

Hixie commented Apr 20, 2021

Internal Google test that failed with this has been migrated to use testWidgets to avoid the issue.

@Hixie
Copy link
Contributor Author

Hixie commented Apr 20, 2021

@goderbauer may I bother you for a review? I believe this is unchanged (except for merges) since the last time you reviewed it.

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
Copy link
Contributor

This pull request is not suitable for automatic merging in its current state.

  • The status or check suite Mac module_test_ios has failed. Please fix the issues identified (or deflake) before re-applying this label.

@fluttergithubbot
Copy link
Contributor

This pull request is not suitable for automatic merging in its current state.

  • The status or check suite Linux web_tool_tests has failed. Please fix the issues identified (or deflake) before re-applying this label.

...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
Copy link
Contributor Author

Hixie commented Apr 27, 2021

This got reverted again, I'll land it as part of #81235 once google3 is ready.

@Hixie Hixie deleted the testTextInput branch April 27, 2021 18:09
angjieli added a commit that referenced this pull request Apr 27, 2021
Hixie added a commit to Hixie/flutter that referenced this pull request May 1, 2021
@Hixie Hixie mentioned this pull request May 2, 2021
8 tasks
@Hixie Hixie mentioned this pull request May 7, 2021
8 tasks
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.

3 participants