Skip to content

test [nfc]: Reset debug variables in addTearDown, now that we can - #2517

Open
rajveermalviya wants to merge 1 commit into
zulip:mainfrom
rajveermalviya:pr-test-addteardown
Open

rajveermalviya wants to merge 1 commit into
zulip:mainfrom
rajveermalviya:pr-test-addteardown

Conversation

@rajveermalviya

Copy link
Copy Markdown
Member

Since this upstream PR, the test binding checks these variables only after the test's teardowns have run:
https://github.com/flutter/flutter/pull/ 193476

For debugNetworkImageHttpClientProvider, prepareBoringImageHttpClient now does that itself, and its callers no longer reset it by hand. prepareContent no longer resets it at the end of setup either, so the fake client serves images for the whole test, and the tests that installed it again no longer need to.

Since this upstream PR, the test binding checks these variables only
after the test's teardowns have run:
  https://github.com/flutter/flutter/pull/ 193476

For debugNetworkImageHttpClientProvider, prepareBoringImageHttpClient
now does that itself, and its callers no longer reset it by hand.
prepareContent no longer resets it at the end of setup either, so the
fake client serves images for the whole test, and the tests that
installed it again no longer need to.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rajveermalviya rajveermalviya added the integration review Added by maintainers when PR may be ready for integration label Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration review Added by maintainers when PR may be ready for integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants