-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Update tests to ignore deprecated_member_use
where TestWindow
API is used
#3485
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/dynamic_layouts/example/test/staggered_example_test.dart
Outdated
Show resolved
Hide resolved
Should we add that to the analyzer script? Or would this maybe be a good lint? |
If there were a way to configure the analyzer in analysis_options.yaml to only allow specific ignores to be file-level that would be something we could enable; I don't think it's enough of an issue to write our own file parser to do it manually absent that though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
…dow` API is used (flutter/packages#3485)
… is used (flutter#3485) Update tests to ignore `deprecated_member_use` where `TestWindow` API is used
Update tests to ignore
deprecated_member_use
whereTestWindow
API is used.With #122824, the
TestWindow
API is deprecated. We need to ignore analysis errors from using deprecated members for CI to work, but don't want to update the API until 3.9.0 is in stable.#122912 tracks the eventual migration to the new
TestFlutterView
API.Progress towards #121915.
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes].CHANGELOG.md
to add a description of the change, [following repository CHANGELOG style].///
).