Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@jpnurmi
Copy link
Member

@jpnurmi jpnurmi commented Apr 19, 2022

This PR complements the accessibility tree tests added in #32499. A prerequisite for the tests is to add a way to inject a mock engine because view instances cannot be created in headless CI.

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] and the [C++, Objective-C, Java style guides].
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the [CLA].
  • All existing and new tests are passing.

Add construct-only 'engine' property to make it possible to inject a
mock engine.
@jpnurmi
Copy link
Member Author

jpnurmi commented May 9, 2022

Ping @robert-ancell @cbracken

Copy link
Contributor

@robert-ancell robert-ancell left a comment

Choose a reason for hiding this comment

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

Other than the small change LGTM.

jpnurmi added 3 commits May 10, 2022 07:05
- drop fl_view_accessible prefix for non-methods
- set_engine -> init_engine to make the intention clear
Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

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

Thanks for adding this!

@jpnurmi jpnurmi deleted the a11y-test branch May 11, 2022 04:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants