Skip to content

Conversation

@stuartmorgan-g
Copy link
Contributor

Fixes and enables the platform_channel integration test for Windows.

Because Windows devices don't necessarily have batteries, the Windows
implementation has been updated to return a specific error for cases
where there is no battery, and the example handles that error with
specific UI instead of a failure message.

The integration test has been updated to allow that response as a
valid response so that the test will pass on machines without
batteries.

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 Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • 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.

@stuartmorgan-g stuartmorgan-g requested a review from keyonghan as a code owner July 1, 2022 19:57
@flutter-dashboard flutter-dashboard bot added d: examples Sample code and demos c: contributor-productivity Team-specific productivity, code health, technical debt. labels Jul 1, 2022
@stuartmorgan-g stuartmorgan-g marked this pull request as draft July 1, 2022 19:57
Fixes and enables the platform_channel integration test for Windows.

Because Windows devices don't necessarily have batteries, the Windows
implementation has been updated to return a specific error for cases
where there is no battery, and the example handles that error with
specific UI instead of a failure message.

The integration test has been updated to allow that response as a
valid response so that the test will pass on machines without
batteries.
@stuartmorgan-g stuartmorgan-g force-pushed the windows-platform-channel-enable-test branch from 8e9e90d to 1119513 Compare July 1, 2022 20:04
@stuartmorgan-g stuartmorgan-g marked this pull request as ready for review July 1, 2022 20:04
["devicelab", "hostonly"]
task_name: platform_channel_sample_test_windows
scheduler: luci
bringup: true
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I validated (by temporarily making this a presubmit test in an earlier version of this PR) that this test passes with the changes here.

Copy link
Member

@loic-sharma loic-sharma left a comment

Choose a reason for hiding this comment

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

LGTM

@stuartmorgan-g stuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 1, 2022
@auto-submit
Copy link
Contributor

auto-submit bot commented Jul 1, 2022

  • The status or check suite analyze-linux has failed. Please fix the issues identified (or deflake) before re-applying this label.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jul 1, 2022
@stuartmorgan-g stuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 6, 2022
@auto-submit auto-submit bot merged commit f3717d7 into flutter:master Jul 6, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Jul 6, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 6, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Jul 6, 2022
camsim99 pushed a commit to camsim99/flutter that referenced this pull request Aug 10, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 30, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App c: contributor-productivity Team-specific productivity, code health, technical debt. d: examples Sample code and demos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants