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

Conversation

@nturgut
Copy link
Contributor

@nturgut nturgut commented Nov 27, 2019

Adding unit tests which would have caught: flutter/flutter#45715

@nturgut nturgut requested a review from yjbanov November 27, 2019 21:30
@auto-assign auto-assign bot requested a review from cbracken November 27, 2019 21:30
@nturgut nturgut removed the request for review from cbracken November 27, 2019 21:35
});
test('checks shouldEnableSemantics for every global event', () {
final MockSemanticsEnabler mockEnableSemantics = MockSemanticsEnabler();
semantics().enableSemantics.enableSemantics = mockEnableSemantics;
Copy link
Contributor

Choose a reason for hiding this comment

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

enableSemantics.enableSemantics doesn't look right. Let's rename the field (and the setter) to semanticsEnabler.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

I changed the names. I will do the refactor we discussed in a later PR.

@nturgut nturgut merged commit 4bdd15c into flutter:master Nov 27, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 28, 2019
skia-flutter-autoroll pushed a commit to flutter/flutter that referenced this pull request Nov 28, 2019
* 29b2e91 Include uncommitted files when checking for code format issues. (flutter/engine#14035)

* 7a7118d Roll src/third_party/skia 861ac61cb1a9..c96f5108df28 (10 commits) (flutter/engine#14059)

* bc07e6a [web] Initial support for LineMetrics (flutter/engine#13985)

* bcb8267 Revert "Do not default to downstream affinity on iOS insertText (#13852)" (flutter/engine#14053)

* 4bdd15c more tests for enabling semantics (flutter/engine#14060)
@nturgut nturgut deleted the a11y_unit_tests branch November 21, 2020 00:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants