-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Description
Window is on the way out, we need to mark TestWindow and it's related properties as Deprecated to start driving people away from using them.
Proposal
- Update all flutter repo tests still using
TestWindowto useTestPlatformDispatcherorTestFlutterViewinstead.- Update
flutter_localizations/testto stop usingTestWindow#122237 - Update
flutter/test/cupertinoto no longer useTestWindow#122238 - Update
flutter/test/gesturesto no longer referenceTestWindow#122239 - Update
flutter/test/materialto no longer useTestWindow#122240 - Update
flutter/test/renderingto no longer useTestWindow#122241 - Update
flutter/test/widgetsto no longer referenceTestWindow#122242 - Update
integration_testto no longer useTestWindow#122243
- Update
- Complete migration guide via: Migration guide for window singleton deprecation website#8283
- Mark
TestWindowas deprecated.- Mark individual properties on
TestWindowas deprecated as well and point users to the proper properties onTestPlatformDispatcherandTestFlutterView - Mark
TestWidgetsFlutterBinding.windowas deprecated and point users toWidgetTester.platformDispatcherandWidgetTester.viewinstead.
- Mark individual properties on
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.