Skip to content

Remove unused code from test/ - #9918

Merged
kenzieschmoll merged 20 commits into
flutter:masterfrom
kenzieschmoll:dcm-test
Jul 29, 2026
Merged

Remove unused code from test/#9918
kenzieschmoll merged 20 commits into
flutter:masterfrom
kenzieschmoll:dcm-test

Conversation

@kenzieschmoll

Copy link
Copy Markdown
Member

Work towards #9906

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request performs a comprehensive cleanup of the test infrastructure by removing a significant amount of unused code, including deleted test files, unused helper functions, dead variables, and obsolete imports. The review feedback suggests fully removing the afterNewSetup and beforeFinalTearDown lifecycle hooks in FlutterTestEnvironment instead of suppressing the unused-code warnings, since the tests that relied on them have been removed.

Comment thread packages/devtools_app/test/test_infra/flutter_test_environment.dart Outdated
Comment thread packages/devtools_app/test/test_infra/flutter_test_environment.dart Outdated
@kenzieschmoll
kenzieschmoll merged commit 3870ab5 into flutter:master Jul 29, 2026
51 checks passed
@kenzieschmoll
kenzieschmoll deleted the dcm-test branch July 29, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants