Skip to content

Conversation

@stuartmorgan-g
Copy link
Collaborator

url_launcher_windows was setting a dartHostTestHandler in its Pigeon config file, but it was not actually using the test generator.

Part of flutter/flutter#159886

Pre-Review Checklist

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

`url_launcher_windows` was setting a `dartHostTestHandler` in its Pigeon
config file, but it was not actually using the test generator.

Part of flutter/flutter#159886
@stuartmorgan-g stuartmorgan-g added override: no versioning needed Override the check requiring version bumps for most changes override: no changelog needed Override the check requiring CHANGELOG updates for most changes labels Oct 29, 2025
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests or get an explicit test exemption before merging.

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. If you believe this PR qualifies for a test exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

Copy link

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

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 removes the dartHostTestHandler parameter from the @HostApi annotation in packages/url_launcher/url_launcher_windows/pigeons/messages.dart. This change removes an unused configuration for test handler generation, which is a good cleanup. The change is correct and I have no further comments.

@stuartmorgan-g
Copy link
Collaborator Author

CHANGELOG/version overrides: This change is a no-op; this parameter is only used to configure a generator that's not used (since dartTestOut is not set).

@stuartmorgan-g
Copy link
Collaborator Author

test-exempt: removing code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

override: no changelog needed Override the check requiring CHANGELOG updates for most changes override: no versioning needed Override the check requiring version bumps for most changes p: url_launcher platform-windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant