Skip to content

Conversation

@goderbauer
Copy link
Member

Part of #116929.

TestViewConfiguration would default to the global window singleton. In a multi view world, that default doesn't make sense and users are required to explicitly specify which view the configuration is for.

All call sites already did specify the view explicitly, so the default didn't have much of a purpose anyways.

@flutter-dashboard flutter-dashboard bot added a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels. f: integration_test The flutter/packages/integration_test plugin c: contributor-productivity Team-specific productivity, code health, technical debt. labels Mar 10, 2023
@goderbauer goderbauer force-pushed the TestViewCOnfiguration branch from bc6a55b to 28709a9 Compare March 10, 2023 00:21
Copy link
Contributor

@pdblasi-google pdblasi-google left a comment

Choose a reason for hiding this comment

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

LGTM

@goderbauer goderbauer added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 10, 2023
@auto-submit auto-submit bot merged commit 927289f into flutter:master Mar 10, 2023
CaseyHillers pushed a commit to CaseyHillers/flutter that referenced this pull request Mar 10, 2023
CaseyHillers pushed a commit that referenced this pull request Mar 10, 2023
* Revert "Remove references to BindingBase.window (#122119)"

This reverts commit c7681f0.

* Revert "Remove another reference to BindingBase.window (#122341)"

This reverts commit 6ec4445.

* Revert "Reland (2): Removes single window assumptions from `flutter_test` (#122233)"

This reverts commit eb3d317.

* Revert "Remove single view assumption from TestViewConfiguration (#122352)"

This reverts commit 927289f.

* Revert "Updates `flutter/test/cupertino` to no longer use `TestWindow` (#122325)"

This reverts commit 67e17e4.

* Revert "Updates `flutter/test/gestures` to no longer reference `TestWindow` (#122327)"

This reverts commit c2a5111.

* Revert "Updates `flutter/test/rendering` to no longer use `TestWindow` (#122347)"

This reverts commit 28b65e0.

* Revert "Updates `flutter_localizations/test` to stop using `TestWindow` (#122321)"

This reverts commit 01367d5.
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 10, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 10, 2023
goderbauer added a commit to goderbauer/flutter that referenced this pull request Mar 10, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 10, 2023
auto-submit bot pushed a commit that referenced this pull request Mar 10, 2023
…2352)" (#122414)

Reland "Remove single view assumption from TestViewConfiguration (#122352)"
@goderbauer goderbauer deleted the TestViewCOnfiguration branch March 10, 2023 19:41
hannah-hyj pushed a commit to hannah-hyj/flutter that referenced this pull request Mar 11, 2023
)

Remove single view assumption from TestViewConfiguration
hannah-hyj pushed a commit to hannah-hyj/flutter that referenced this pull request Mar 11, 2023
* Revert "Remove references to BindingBase.window (flutter#122119)"

This reverts commit c7681f0.

* Revert "Remove another reference to BindingBase.window (flutter#122341)"

This reverts commit 6ec4445.

* Revert "Reland (2): Removes single window assumptions from `flutter_test` (flutter#122233)"

This reverts commit eb3d317.

* Revert "Remove single view assumption from TestViewConfiguration (flutter#122352)"

This reverts commit 927289f.

* Revert "Updates `flutter/test/cupertino` to no longer use `TestWindow` (flutter#122325)"

This reverts commit 67e17e4.

* Revert "Updates `flutter/test/gestures` to no longer reference `TestWindow` (flutter#122327)"

This reverts commit c2a5111.

* Revert "Updates `flutter/test/rendering` to no longer use `TestWindow` (flutter#122347)"

This reverts commit 28b65e0.

* Revert "Updates `flutter_localizations/test` to stop using `TestWindow` (flutter#122321)"

This reverts commit 01367d5.
hannah-hyj pushed a commit to hannah-hyj/flutter that referenced this pull request Mar 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: tests "flutter test", flutter_test, or one of our tests autosubmit Merge PR when tree becomes green via auto submit App c: contributor-productivity Team-specific productivity, code health, technical debt. f: integration_test The flutter/packages/integration_test plugin framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants