Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[webview_flutter_android] Change relative path to uri in generated pigeon test file#5029

Merged
fluttergithubbot merged 7 commits intoflutter:mainfrom
bparrishMines:pigeon_test_fix
Mar 10, 2022
Merged

[webview_flutter_android] Change relative path to uri in generated pigeon test file#5029
fluttergithubbot merged 7 commits intoflutter:mainfrom
bparrishMines:pigeon_test_fix

Conversation

@bparrishMines
Copy link
Contributor

@bparrishMines bparrishMines commented Mar 9, 2022

This fixes the issue of relative paths in a generated test file that prevent mockito code generation. Also bumps mockito version to 5.1.0.

No version change: Only affects plugin development

Cause: flutter/flutter#97744 that causes flutter/flutter#99766
Fixes flutter/flutter#99766

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
  • I listed at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
  • I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

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.

@github-actions github-actions bot added p: webview_flutter Edits files for a webview_flutter plugin platform-android labels Mar 9, 2022
@bparrishMines bparrishMines changed the title Pigeon test fix [webview_flutter_android] Change relative path to uri in generated pigeon test file Mar 9, 2022
Copy link
Contributor

@mvanbeusekom mvanbeusekom left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

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

LGTM with version bump removed.

@bparrishMines bparrishMines added the waiting for tree to go green (Use "autosubmit") This PR is approved and tested, but waiting for the tree to be green to land. label Mar 9, 2022
@fluttergithubbot fluttergithubbot merged commit 2fefbd7 into flutter:main Mar 10, 2022
@bparrishMines bparrishMines deleted the pigeon_test_fix branch March 10, 2022 02:29
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

needs tests p: webview_flutter Edits files for a webview_flutter plugin platform-android waiting for tree to go green (Use "autosubmit") This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mockito mock generation throws missing library exception flutter/plugins/webview_flutter

4 participants