这是indexloc提供的服务,不要输入任何密码
Skip to content

Add tests for material_state_mouse_cursor.0.dart API example. #145987

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

Conversation

ksokolovskyi
Copy link
Contributor

This PR contributes to #130459

Description

  • Updates examples/api/lib/material/material_state/material_state_mouse_cursor.0.dart to allow enable/disable ListTile in tests;
  • Adds tests for examples/api/lib/material/material_state/material_state_mouse_cursor.0.dart.

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].
  • I followed the [breaking change policy] and added [Data Driven Fixes] where supported.
  • All existing and new tests are passing.

@github-actions github-actions bot added framework flutter/packages/flutter repository. See also f: labels. f: material design flutter/packages/flutter/material repository. d: api docs Issues with https://api.flutter.dev/ d: examples Sample code and demos labels Mar 29, 2024
Copy link
Contributor

@Renzo-Olivares Renzo-Olivares 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 small nits, thanks for adding this test!

Copy link
Contributor

@Renzo-Olivares Renzo-Olivares left a comment

Choose a reason for hiding this comment

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

LGTM, thank you for your contribution!

@ksokolovskyi
Copy link
Contributor Author

@Renzo-Olivares thanks for the review!

Copy link
Contributor

@gspencergoog gspencergoog left a comment

Choose a reason for hiding this comment

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

32384589-a60f0e74-c078-11e7-9bc1-e5b5287aea9d

@gspencergoog gspencergoog added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 3, 2024
@auto-submit auto-submit bot merged commit e6f078f into flutter:master Apr 3, 2024
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Apr 3, 2024
Roll Flutter from a418568 to e868e2b (34 revisions)

flutter/flutter@a418568...e868e2b

2024-04-03 65075121+AcarFurkan@users.noreply.github.com Add SegmentedButton expand feature (flutter/flutter#142804)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from e36b9b10c36f to 56fa2c33a5f7 (1 revision) (flutter/flutter#146205)
2024-04-03 engine-flutter-autoroll@skia.org Roll Packages from 83f3842 to 0e848fa (3 revisions) (flutter/flutter#146201)
2024-04-03 ian@hixie.ch Enhance ColorScheme.fromSeed with a new `variant` parameter (flutter/flutter#144805)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from 0280de5be276 to e36b9b10c36f (1 revision) (flutter/flutter#146200)
2024-04-03 leroux_bruno@yahoo.fr Fix typos in bottom_sheet.dart (flutter/flutter#146188)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from 979030d81f8d to 0280de5be276 (2 revisions) (flutter/flutter#146199)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from bef3bbe3f74e to 979030d81f8d (1 revision) (flutter/flutter#146186)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from 5fc83bc24b2e to bef3bbe3f74e (1 revision) (flutter/flutter#146183)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from 0da1b2eb370a to 5fc83bc24b2e (1 revision) (flutter/flutter#146180)
2024-04-03 31859944+LongCatIsLooong@users.noreply.github.com Avoid calling `TextPainter.plainText` for simple static text (flutter/flutter#146084)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from e603f89844a9 to 0da1b2eb370a (2 revisions) (flutter/flutter#146179)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from ef60a95d78c1 to e603f89844a9 (3 revisions) (flutter/flutter#146177)
2024-04-03 31859944+LongCatIsLooong@users.noreply.github.com Fix chip baseline implementation (flutter/flutter#146162)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from bb4ec2d7eb39 to ef60a95d78c1 (1 revision) (flutter/flutter#146176)
2024-04-03 sokolovskyi.konstantin@gmail.com Add tests for material_state_mouse_cursor.0.dart API example. (flutter/flutter#145987)
2024-04-03 36861262+QuncCccccc@users.noreply.github.com Update material_color_utilities package version to latest 0.11.1 (flutter/flutter#145959)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from 5f6dec8bd877 to bb4ec2d7eb39 (4 revisions) (flutter/flutter#146169)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from 5dbcfdc2a456 to 5f6dec8bd877 (1 revision) (flutter/flutter#146163)
2024-04-02 polinach@google.com Dispose FocusNode in tests. (flutter/flutter#146161)
2024-04-02 kallentu@google.com Add `none` language strings to code blocks. (flutter/flutter#146154)
2024-04-02 103135467+sealesj@users.noreply.github.com Refactor docs (flutter/flutter#145998)
2024-04-02 engine-flutter-autoroll@skia.org Roll Flutter Engine from c60b00a20fc3 to 5dbcfdc2a456 (3 revisions) (flutter/flutter#146159)
2024-04-02 fluttergithubbot@gmail.com Marks Linux_pixel_7pro complex_layout_scroll_perf_impeller__timeline_summary to be unflaky (flutter/flutter#140038)
2024-04-02 engine-flutter-autoroll@skia.org Roll Flutter Engine from 5bf8b94505a4 to c60b00a20fc3 (2 revisions) (flutter/flutter#146157)
2024-04-02 103135467+sealesj@users.noreply.github.com Refactor analyze (flutter/flutter#146138)
2024-04-02 rmolivares@renzo-olivares.dev Implement SelectionArea triple click gestures (flutter/flutter#144563)
2024-04-02 engine-flutter-autoroll@skia.org Roll Flutter Engine from 6883f7313da0 to 5bf8b94505a4 (2 revisions) (flutter/flutter#146152)
2024-04-02 leroux_bruno@yahoo.fr Fix border color is wrong for a focused and hovered TextField (flutter/flutter#146127)
2024-04-02 goderbauer@google.com Sync lints and enable `annotate_redeclares` (flutter/flutter#146144)
2024-04-02 31859944+LongCatIsLooong@users.noreply.github.com Implements `RenderBox.computeDryBaseline` for material render boxes (flutter/flutter#146027)
2024-04-02 engine-flutter-autoroll@skia.org Roll Flutter Engine from 523fc953ebc8 to 6883f7313da0 (2 revisions) (flutter/flutter#146140)
2024-04-02 tessertaha@gmail.com Fix `MenuItemButton` overflow (flutter/flutter#143932)
2024-04-02 engine-flutter-autoroll@skia.org Roll Packages from d5aff19 to 83f3842 (4 revisions) (flutter/flutter#146134)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC bmparr@google.com,rmistry@google.com,stuartmorgan@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

...
@ksokolovskyi
Copy link
Contributor Author

@Renzo-Olivares @gspencergoog thanks for the review!

TecHaxter pushed a commit to TecHaxter/flutter_packages that referenced this pull request May 22, 2024
Roll Flutter from a418568 to e868e2b (34 revisions)

flutter/flutter@a418568...e868e2b

2024-04-03 65075121+AcarFurkan@users.noreply.github.com Add SegmentedButton expand feature (flutter/flutter#142804)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from e36b9b10c36f to 56fa2c33a5f7 (1 revision) (flutter/flutter#146205)
2024-04-03 engine-flutter-autoroll@skia.org Roll Packages from 83f3842 to 0e848fa (3 revisions) (flutter/flutter#146201)
2024-04-03 ian@hixie.ch Enhance ColorScheme.fromSeed with a new `variant` parameter (flutter/flutter#144805)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from 0280de5be276 to e36b9b10c36f (1 revision) (flutter/flutter#146200)
2024-04-03 leroux_bruno@yahoo.fr Fix typos in bottom_sheet.dart (flutter/flutter#146188)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from 979030d81f8d to 0280de5be276 (2 revisions) (flutter/flutter#146199)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from bef3bbe3f74e to 979030d81f8d (1 revision) (flutter/flutter#146186)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from 5fc83bc24b2e to bef3bbe3f74e (1 revision) (flutter/flutter#146183)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from 0da1b2eb370a to 5fc83bc24b2e (1 revision) (flutter/flutter#146180)
2024-04-03 31859944+LongCatIsLooong@users.noreply.github.com Avoid calling `TextPainter.plainText` for simple static text (flutter/flutter#146084)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from e603f89844a9 to 0da1b2eb370a (2 revisions) (flutter/flutter#146179)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from ef60a95d78c1 to e603f89844a9 (3 revisions) (flutter/flutter#146177)
2024-04-03 31859944+LongCatIsLooong@users.noreply.github.com Fix chip baseline implementation (flutter/flutter#146162)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from bb4ec2d7eb39 to ef60a95d78c1 (1 revision) (flutter/flutter#146176)
2024-04-03 sokolovskyi.konstantin@gmail.com Add tests for material_state_mouse_cursor.0.dart API example. (flutter/flutter#145987)
2024-04-03 36861262+QuncCccccc@users.noreply.github.com Update material_color_utilities package version to latest 0.11.1 (flutter/flutter#145959)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from 5f6dec8bd877 to bb4ec2d7eb39 (4 revisions) (flutter/flutter#146169)
2024-04-03 engine-flutter-autoroll@skia.org Roll Flutter Engine from 5dbcfdc2a456 to 5f6dec8bd877 (1 revision) (flutter/flutter#146163)
2024-04-02 polinach@google.com Dispose FocusNode in tests. (flutter/flutter#146161)
2024-04-02 kallentu@google.com Add `none` language strings to code blocks. (flutter/flutter#146154)
2024-04-02 103135467+sealesj@users.noreply.github.com Refactor docs (flutter/flutter#145998)
2024-04-02 engine-flutter-autoroll@skia.org Roll Flutter Engine from c60b00a20fc3 to 5dbcfdc2a456 (3 revisions) (flutter/flutter#146159)
2024-04-02 fluttergithubbot@gmail.com Marks Linux_pixel_7pro complex_layout_scroll_perf_impeller__timeline_summary to be unflaky (flutter/flutter#140038)
2024-04-02 engine-flutter-autoroll@skia.org Roll Flutter Engine from 5bf8b94505a4 to c60b00a20fc3 (2 revisions) (flutter/flutter#146157)
2024-04-02 103135467+sealesj@users.noreply.github.com Refactor analyze (flutter/flutter#146138)
2024-04-02 rmolivares@renzo-olivares.dev Implement SelectionArea triple click gestures (flutter/flutter#144563)
2024-04-02 engine-flutter-autoroll@skia.org Roll Flutter Engine from 6883f7313da0 to 5bf8b94505a4 (2 revisions) (flutter/flutter#146152)
2024-04-02 leroux_bruno@yahoo.fr Fix border color is wrong for a focused and hovered TextField (flutter/flutter#146127)
2024-04-02 goderbauer@google.com Sync lints and enable `annotate_redeclares` (flutter/flutter#146144)
2024-04-02 31859944+LongCatIsLooong@users.noreply.github.com Implements `RenderBox.computeDryBaseline` for material render boxes (flutter/flutter#146027)
2024-04-02 engine-flutter-autoroll@skia.org Roll Flutter Engine from 523fc953ebc8 to 6883f7313da0 (2 revisions) (flutter/flutter#146140)
2024-04-02 tessertaha@gmail.com Fix `MenuItemButton` overflow (flutter/flutter#143932)
2024-04-02 engine-flutter-autoroll@skia.org Roll Packages from d5aff19 to 83f3842 (4 revisions) (flutter/flutter#146134)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC bmparr@google.com,rmistry@google.com,stuartmorgan@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

...
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 d: api docs Issues with https://api.flutter.dev/ d: examples Sample code and demos f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants