Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[canvaskit] Fix Path tests #37635

Merged

Conversation

harryterkelsen
Copy link
Contributor

This fixes the Path tests that regressed as a result of test results not being reported properly.

The test for checking that metrics.toList() can be called multiple times is invalid because according to the docs: "This iterable does not memoize. Callers who need to traverse the list multiple times, or who need to randomly access elements of the list, should use toList on this object."

Partially addresses flutter/flutter#115327

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 and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

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

@harryterkelsen harryterkelsen added autosubmit Merge PR when tree becomes green via auto submit App and removed autosubmit Merge PR when tree becomes green via auto submit App labels Nov 16, 2022
@harryterkelsen harryterkelsen merged commit 39f5465 into flutter:main Nov 18, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 18, 2022
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Nov 18, 2022
…115618)

* 5471734f7 [macOS] Cleanup unnecessary references to Metal (flutter/engine#37733)

* 39f546585 Fix CanvasKit path tests (flutter/engine#37635)
shogohida pushed a commit to shogohida/flutter that referenced this pull request Dec 7, 2022
…lutter#115618)

* 5471734f7 [macOS] Cleanup unnecessary references to Metal (flutter/engine#37733)

* 39f546585 Fix CanvasKit path tests (flutter/engine#37635)
gspencergoog pushed a commit to gspencergoog/flutter that referenced this pull request Jan 19, 2023
…lutter#115618)

* 5471734f7 [macOS] Cleanup unnecessary references to Metal (flutter/engine#37733)

* 39f546585 Fix CanvasKit path tests (flutter/engine#37635)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform-web Code specifically for the web engine
Projects
None yet
2 participants