Skip to content
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

[Linux] add FlViewAccessible tests #32769

Merged
merged 5 commits into from May 10, 2022
Merged

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.

- 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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants