yaakovschectman
5bea4d9023
Revert "Assert that runApp is called in the same zone as binding.ensureInitialized ( #117113 )" ( #122830 )
...
Revert "Assert that runApp is called in the same zone as binding.ensureInitialized"
2023-03-16 20:29:13 +00:00
Ian Hickson
96f927fb0d
Assert that runApp is called in the same zone as binding.ensureInitialized ( #117113 )
...
Assert that runApp is called in the same zone as binding.ensureInitialized
2023-03-16 19:28:14 +00:00
Michael Goderbauer
a599c08c32
Remvoe last few references to window singleton ( #122644 )
...
Remove last few references to window singleton
2023-03-15 00:34:34 +00:00
pdblasi-google
0ba64488da
Reland: Updates flutter/test/material
to no longer use TestWindow
( #122643 )
...
Reland: Updates `flutter/test/material` to no longer use `TestWindow`
2023-03-15 00:08:18 +00:00
yaakovschectman
46a8106781
Revert "Updates flutter/test/material
to no longer use TestWindow
( #122337 )" ( #122636 )
...
This reverts commit b2fc5f9770
.
2023-03-14 17:34:33 -04:00
pdblasi-google
b2fc5f9770
Updates flutter/test/material
to no longer use TestWindow
( #122337 )
...
Updates `flutter/test/material` to no longer use `TestWindow`
2023-03-14 21:13:05 +00:00
pdblasi-google
7dd53fefe9
Reland (3): Removes single window assumptions from flutter_test
( #122422 )
...
Reland (3): Removes single window assumptions from `flutter_test`
2023-03-13 21:50:24 +00:00
Bruno Leroux
376d8baabc
Remove key simulation obsolete comments ( #122389 )
...
Remove key simulation obsolete comments
2023-03-13 20:20:19 +00:00
Michael Goderbauer
12ef7535a8
Reland "Introduce the PipelineOwner tree ( #122231 )" ( #122452 )
...
Reland "Introduce the PipelineOwner tree (#122231 )"
2023-03-13 17:58:56 +00:00
Jim Graham
670f9d2037
Revert "Introduce the PipelineOwner tree ( #122231 )" ( #122425 )
...
This reverts commit f73c358e43
.
2023-03-10 13:15:46 -08:00
Michael Goderbauer
f73c358e43
Introduce the PipelineOwner tree ( #122231 )
...
Introduce the PipelineOwner tree
2023-03-10 19:57:17 +00:00
Michael Goderbauer
b4019f9884
Reland "Remove single view assumption from TestViewConfiguration ( #122352 )" ( #122414 )
...
Reland "Remove single view assumption from TestViewConfiguration (#122352 )"
2023-03-10 19:30:34 +00:00
Callum Moffat
e078c93bfe
SelectionChangedCause for iOS keyboard-select ( #122144 )
...
SelectionChangedCause for iOS keyboard-select
2023-03-10 19:13:28 +00:00
Casey Hillers
1f42612323
Revert PRs relating to single window assumption ( #122369 )
...
* Revert "Remove references to BindingBase.window (#122119 )"
This reverts commit c7681f00cf
.
* Revert "Remove another reference to BindingBase.window (#122341 )"
This reverts commit 6ec4445063
.
* Revert "Reland (2): Removes single window assumptions from `flutter_test` (#122233 )"
This reverts commit eb3d317ea0
.
* Revert "Remove single view assumption from TestViewConfiguration (#122352 )"
This reverts commit 927289fb4e
.
* Revert "Updates `flutter/test/cupertino` to no longer use `TestWindow` (#122325 )"
This reverts commit 67e17e45f0
.
* Revert "Updates `flutter/test/gestures` to no longer reference `TestWindow` (#122327 )"
This reverts commit c2a5111cc0
.
* Revert "Updates `flutter/test/rendering` to no longer use `TestWindow` (#122347 )"
This reverts commit 28b65e089b
.
* Revert "Updates `flutter_localizations/test` to stop using `TestWindow` (#122321 )"
This reverts commit 01367d52d7
.
2023-03-09 22:53:38 -08:00
Michael Goderbauer
927289fb4e
Remove single view assumption from TestViewConfiguration ( #122352 )
...
Remove single view assumption from TestViewConfiguration
2023-03-10 01:54:00 +00:00
pdblasi-google
eb3d317ea0
Reland (2): Removes single window assumptions from flutter_test
( #122233 )
...
Reland (2): Removes single window assumptions from `flutter_test`
2023-03-09 00:52:05 +00:00
Jami Couch
2a67bf78f0
Add support for iOS UndoManager ( #98294 )
...
Add support for iOS UndoManager
2023-03-08 19:45:49 +00:00
Casey Hillers
0091601057
Revert "Reland: Removes single window assumptions from flutter_test
( #122060 )" ( #122193 )
...
Revert "Reland: Removes single window assumptions from `flutter_test`"
2023-03-08 19:42:03 +00:00
pdblasi-google
a626f4db6f
Reland: Removes single window assumptions from flutter_test
( #122060 )
...
Reland: Removes single window assumptions from `flutter_test`
2023-03-07 21:12:59 +00:00
pdblasi-google
a53105d941
Revert "Removes single window assumptions from flutter_test
( #121549 )" ( #122037 )
...
This reverts commit f2dd19d5b6
.
2023-03-06 11:49:40 -08:00
pdblasi-google
f2dd19d5b6
Removes single window assumptions from flutter_test
( #121549 )
...
Removes single window assumptions from `flutter_test`
2023-03-06 18:38:14 +00:00
Jason Simmons
95387c6621
Fix field cleared by TestWindow.clearGestureSettingsTestValue ( #121956 )
2023-03-04 16:59:14 -08:00
Michael Goderbauer
50c80d9b50
Remove all traces of ViewConfiguration/PlatformConfiguration ( #121751 )
...
Remove all traces of ViewConfiguration/PlatformConfiguration
2023-03-02 20:46:15 +00:00
Michael Goderbauer
92a1a8ba09
Migrate to FlutterView.gestureSettings ( #121749 )
2023-03-02 10:17:29 -08:00
Michael Goderbauer
6de42a70f1
Fix how tests count open SemanticsHandles ( #121571 )
...
Fix how tests count open SemanticsHandles
2023-02-28 23:55:58 +00:00
Michael Goderbauer
b1b7284a72
Move semantic-related bindings to SemanticsBinding ( #121289 )
...
Move semantic-related bindings to SemanticsBinding
2023-02-24 19:30:57 +00:00
Lioness100
26b6c1bedd
Fix typos ( #121171 )
...
* Fix typos
* lowercase animated & opacity
* Undo typo fix
---------
Co-authored-by: Michael Goderbauer <goderbauer@google.com>
2023-02-23 19:43:21 +00:00
Michael Goderbauer
5ccb4d4b95
Rename WindowPadding to ViewPadding ( #121152 )
...
* Rename WindowPadding to ViewPadding
* dart fix
* typos
2023-02-22 21:32:40 +00:00
Ian Hickson
6205c110d6
Remove "note that" in our documentation (as per style guide) ( #120842 )
...
* lerp documentation
* Remove Note, Note That from repo
* Improve BorderSide documentation.
* apply review comments
2023-02-17 22:27:33 +00:00
Loïc Sharma
5a3957f3b9
Revert "Fix error when resetting configurations in tear down phase" ( #120739 )
...
Reverts flutter/flutter#114468 by @fzyzcjy
Example failure: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8789140722059256001/+/u/run_test.dart_for_tool_integration_tests_shard_and_subshard_1_4/test_stdout
2023-02-14 16:42:16 -08:00
fzyzcjy
577ad2ee8a
Fix error when resetting configurations in tear down phase ( #114468 )
...
* move _verifyInvariants
* fix
* fix (mimic import test_api.dart)
* fix
* Update binding.dart
* add tests
* try to move
* Revert "try to move"
This reverts commit d3c466d226
.
* Update binding.dart
2023-02-15 00:00:17 +00:00
Ian Hickson
07c548c698
Apply BindingBase.checkInstance to TestDefaultBinaryMessengerBinding ( #116937 )
2023-02-13 23:55:58 +00:00
Ahmed Ashour
c35efdaa68
Remove superfluous words. ( #119008 )
...
* Remove superfluous words.
* Update packages/flutter/lib/src/widgets/slotted_render_object_widget.dart
Co-authored-by: Michael Goderbauer <goderbauer@google.com>
2023-01-24 01:57:00 +00:00
Michael Goderbauer
83720015a4
Remove unnecessary null checks in flutter_test ( #118865 )
2023-01-20 22:01:13 +00:00
Peixin Li
c905a09b0c
Add documentation for drag/fling offset in WidgetController. ( #118288 )
...
* Documentation for drag/fling offset
* Fix typo
* Fix typo 2
* Fix the docs_test
* Fix the grammar
2023-01-12 23:00:23 +00:00
Michael Goderbauer
bf5fdb9f96
Reland "Inject current FlutterView into tree and make available via View.of(context)
( #116924 )" ( #117244 )
...
* Reland "Inject current `FlutterView` into tree and make available via `View.of(context)` (#116924 )"
This reverts commit 9102f2fe0b
.
* remove window placeholder
2022-12-17 06:14:19 +00:00
Casey Hillers
9102f2fe0b
Revert "Inject current FlutterView
into tree and make available via View.of(context)
( #116924 )" ( #117214 )
...
This reverts commit a34e419484
.
2022-12-16 17:48:23 +00:00
Michael Goderbauer
a34e419484
Inject current FlutterView
into tree and make available via View.of(context)
( #116924 )
...
* enable View.of
* tests
* ++
* greg review
* rewording
* hide view from public
2022-12-16 00:13:56 +00:00
Jason Simmons
55bcb784a7
Do not parse stack traces in _findResponsibleMethod on Web platforms that use a different format ( #115500 )
...
See https://github.com/flutter/flutter/issues/107099
2022-12-05 21:33:46 +00:00
chunhtai
6b98f2ca44
labeledTapTargetGuideline should passe if textfield does not have label ( #116221 )
2022-11-30 00:10:07 +00:00
Martin Kustermann
de4c0b19a2
Use double.isNaN
instead of ... == double.nan
(which is always false) ( #115424 )
2022-11-18 11:06:27 +01:00
Dan Field
9e314ff749
Make FutureBuilder handle SynchronousFuture correctly, reland SynchronousFuture usage in test assets ( #115173 )
...
* Make FutureBuilder handle SynchronousFuture correctly
* Reland "Load assets in flutter_test without turning event loop. (#115123 )" (#115156 )"
This reverts commit 3895786f98
.
2022-11-12 01:36:05 +00:00
Dan Field
3895786f98
Revert "Load assets in flutter_test without turning event loop. ( #115123 )" ( #115156 )
...
This reverts commit 88e49ed274
.
2022-11-11 12:14:39 -08:00
Xilai Zhang
338841afd3
Revert "Revert "Revert "Scribble mixin ( #104128 )" ( #114647 )" ( #114698 )" ( #115146 )
...
This reverts commit 3cde69e8d9
.
2022-11-11 10:01:11 -08:00
Dan Field
88e49ed274
Load assets in flutter_test without turning event loop. ( #115123 )
...
* Load assets in flutter_test without turning event loop.
This makes it possible to load an asset without actually turning
the event loop. This is importnat because our FakeAsync zones
may cause people to sprinkle in extra pumpAndSettles in when
running tests that load assets, which is undesirable.
* fix null checking
2022-11-11 04:17:12 +00:00
Zachary Anderson
a84e369bd2
Revert "Allow Flutter golden file tests to be flaky ( #114450 )" ( #114902 )
...
This reverts commit 53e6876226
.
2022-11-08 09:26:55 -08:00
Kate Lovett
53e6876226
Allow Flutter golden file tests to be flaky ( #114450 )
...
* allow marking a golden check as flaky
* add matchesFlutterGolden to analyze.dart; no tags for flutter_goldens/lib
* Pause
* ++
* ++
* Analyzer therapy
* Once more with feeling
* Nits
* Review feedback
* Silly oops
* Test progress
* More tests
* Finish
* Nits
* Analyzer
* Review feedback
Co-authored-by: Yegor Jbanov <yjbanov@google.com>
2022-11-08 01:14:03 +00:00
Justin McCandless
3cde69e8d9
Revert "Revert "Scribble mixin ( #104128 )" ( #114647 )" ( #114698 )
...
Relands the "Scribble mixin" PR, which was reverted due to breaking a Google test in the last roll.
Breaks the Scribble feature out of TextInputClient in order to avoid breaking changes.
2022-11-07 11:28:27 -08:00
Jason Simmons
496cf627e6
Delegate TestWindow.updateSemantics to the wrapped SingletonFlutterWindow ( #114733 )
...
This restores the updateSemantics capability in TestWindow that had been
removed in https://github.com/flutter/flutter/pull/113382
2022-11-07 17:27:50 +00:00
Callum Moffat
48457d736b
WidgetController.startGesture trackpad support ( #114631 )
2022-11-04 17:13:53 +00:00
Casey Hillers
009fa69f3c
Revert "Scribble mixin ( #104128 )" ( #114647 )
...
This reverts commit b571abfbfd
.
2022-11-03 17:17:30 -07:00
Phil Quitslund
33b81ed954
fixes for incoming linter ( #113794 )
...
* fixes for incomming linter
* + todo
* todo format fix
* justify ignore
* --
2022-11-03 10:56:59 -07:00
fzyzcjy
61deaef5df
Fix bug thattimeDilation
is not reset, causing subsequent test errors, and add verifications to ensure such problem does not exist in the future ( #113830 )
2022-11-01 22:50:00 +00:00
Alex Wallen
23d258df57
Remove deprecated updateSemantics
API usage. ( #113382 )
2022-10-26 20:20:41 +00:00
pdblasi-google
671c532019
107866: Add support for verifying SemanticsNode ordering in widget tests ( #113133 )
2022-10-26 20:17:15 +00:00
nbayati
235a3252d2
Provide test API for accessibility announcements ( #109661 )
2022-10-26 18:05:07 +00:00
Justin McCandless
b571abfbfd
Scribble mixin ( #104128 )
...
Refactors methods related to the iPad Scribble feature out of TextInputClient
2022-10-24 12:46:43 -07:00
Xilai Zhang
8d3c7e7da6
Revert "AutomatedTestWidgetsFlutterBinding.pump
provides wrong pump time stamp, probably because of forgetting the precision" ( #113415 )
2022-10-14 15:29:07 +00:00
Jonah Williams
4be0cfcb3f
[framework] add ignores for platformDispatcher deprecation ( #113238 )
2022-10-10 22:38:06 +00:00
fzyzcjy
1966aaf8ba
AutomatedTestWidgetsFlutterBinding.pump
provides wrong pump time stamp, probably because of forgetting the precision (#112609 )
2022-10-10 18:32:25 +00:00
Callum Moffat
850f3b37d4
Add PointerScaleEvent and use in InteractiveViewer ( #112172 )
...
Enables pinch-to-zoom in InteractiveViewer on web via PointerScaleEvent.
2022-10-05 13:23:46 -07:00
fzyzcjy
c7b40a5270
Export elapseBlocking
to test binding, so slow sync work can be simulated such as a slow widget build ( #112619 )
2022-10-05 16:35:58 +00:00
chunhtai
86f30978ff
Fixes Text contrast test rect check ( #112492 )
2022-09-27 19:03:23 +00:00
chunhtai
6b1f84fe10
Reland "Update accessibility contrast test coverage ( #109784 )" ( #110502 )
...
This reverts commit 41b50c22b0
.
2022-09-14 09:46:00 -07:00
gaaclarke
c33115943f
Revert "Started handling messages from background isolates." ( #111318 )
2022-09-09 23:25:17 +00:00
gaaclarke
0d19d46b44
Started handling messages from background isolates. ( #109005 )
...
Started handling messages from background isolates.
2022-09-09 15:14:21 -07:00
yaakovschectman
4d3c122434
Use tristate checkbox engine changes ( #111032 )
...
* Introduce tests for tristate checkboxes
* Initial
* Use tristate changes in engine
* Flutter_test matchers test update
* Comments, tests
* Update packages/flutter/lib/src/semantics/semantics.dart
Co-authored-by: Chris Bracken <chris@bracken.jp>
* Assert mutual exclusivity
* Assert valid state before updating state
* Update packages/flutter/lib/src/semantics/semantics.dart
Typo fix in comment
Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
Co-authored-by: Chris Bracken <chris@bracken.jp>
Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
2022-09-08 17:41:54 -04:00
pdblasi-google
574fb1f0a0
110598: expect() in semantic test producing unhelpful output ( #110613 )
2022-09-07 20:55:33 +00:00
Kaushik Iska
d5f372bccd
Request DartPerformanceMode.latency
during transitions ( #110600 )
2022-09-07 12:54:06 -04:00
Pierre-Louis
0c2f7bc2a2
Remove errant double spaces ( #110758 )
2022-09-02 04:00:58 +00:00
Casey Hillers
41b50c22b0
Revert "Update accessibility contrast test coverage ( #109784 )" ( #110436 )
...
This reverts commit f477c8b184
.
2022-08-28 10:30:01 -07:00
Ankur Jain
f477c8b184
Update accessibility contrast test coverage ( #109784 )
2022-08-25 17:28:08 +00:00
Callum Moffat
09e400ead9
Don't disable pointer interaction during trackpad scroll ( #106890 )
2022-08-17 22:57:07 +00:00
pdblasi-google
c8c3f39c93
109638: Windows framework_tests_misc is 2.06% flaky ( #109640 )
2022-08-17 19:47:07 +00:00
Camille Simon
7db25c36ad
Re-land Add Spell Check to EditableText ( #109643 )
2022-08-17 16:16:02 +00:00
Jonah Williams
0ba88d8b43
Revert "Add Spellcheck to EditableText (Android) ( #109334 )" ( #109631 )
...
This reverts commit ff9fe35682
.
2022-08-16 14:30:03 -07:00
Camille Simon
ff9fe35682
Add Spellcheck to EditableText (Android) ( #109334 )
2022-08-16 18:22:45 +00:00
Ian Hickson
9b2668a451
Minor fix compendium ( #107874 )
2022-08-11 02:33:07 +00:00
Michael Goderbauer
e27a19e3f8
Remove outdated ignores ( #108924 )
2022-08-03 23:37:05 +00:00
Pascal Welsch
80679f0b42
[flutter_test] perf: find.ancestor ( #108868 )
2022-08-03 21:59:05 +00:00
Matej Knopp
7e8f0e57bf
[macOS] Use editing intents from engine ( #105407 )
2022-08-03 21:51:28 +02:00
Greg Spencer
f7c41d0988
Update equalsIgnoringHashCodes
to take a list of Strings ( #108507 )
2022-08-03 19:48:06 +00:00
Jia Hao
4d73448b52
[flutter_test] Add flag to send device pointer events to the framework ( #108430 )
2022-08-03 17:56:05 +00:00
pdblasi-google
e499530152
Create containsSemantics
to allow for partial matching of semantics in tests. ( #108573 )
2022-08-01 22:08:06 +00:00
Tong Mu
4056d3ffde
Explain the "patching" protocol in KeyMessageManager.keyMessageHandler
and add an example ( #105280 )
2022-07-26 05:42:05 +00:00
Jonah Williams
9ae37030ae
Use toPictureSync for faster zoom page transition ( #106621 )
2022-07-22 15:58:04 +00:00
Callum Moffat
22f51c34c6
Scroll inertia cancel [framework] ( #106891 )
2022-07-21 20:13:05 +00:00
Bernardo Ferrari
22cb06b57f
Add OvalBorder and BoxShape.oval ( #103833 )
2022-07-20 21:29:04 +00:00
Dan Field
199cb2f5e6
Revert "Allow setting of TestWidgetsFlutterBinding.pointerEventSource ( #107976 )" ( #108038 )
...
This reverts commit 641f4e2403
.
2022-07-20 11:14:58 -07:00
Sai Sandeep Mutyala
641f4e2403
Allow setting of TestWidgetsFlutterBinding.pointerEventSource ( #107976 )
2022-07-20 09:19:17 -07:00
Tong Mu
7e96d89aea
PointerEvent asserts device kinds ( #105987 )
2022-07-19 04:43:04 +00:00
Alexandre Ardhuin
ccd33631e3
enable combinators_ordering ( #107847 )
2022-07-18 22:04:07 +00:00
Jonah Williams
f980d6654e
Add a matcher for Matrix4 that includes epsilon ( #107326 )
2022-07-11 19:23:05 +00:00
Xilai Zhang
d6f090d952
[g3 roll] revert #105537 Implement frameData for TestWindow ( #107168 )
...
* Revert "Reland "Clipping if only one character text overflows (#99146 )" (#102130 )"
This reverts commit 3f43d9f3d4
.
* Revert "Implement frameData for TestWindow (#105537 )"
This reverts commit 21841d7e35
.
2022-07-06 10:29:19 -07:00
Bruno Leroux
776a15c57b
Documentation update to advertize timedDrag ( #106489 )
2022-06-30 13:02:07 +00:00
Alexandre Ardhuin
bbdf617034
Export public API types from services/*.dart library ( #106316 )
2022-06-28 20:26:06 +00:00
Dan Field
21841d7e35
Implement frameData for TestWindow ( #105537 )
2022-06-27 20:26:08 +00:00
Ian Hickson
265ef1efb8
Export SpellOutStringAttribute and LocaleStringAttribute ( #106682 )
2022-06-27 20:10:05 +00:00
Bryan Oltman
6c3a0e4d21
Fix typo in flutter_test binding.dart ( #106505 )
2022-06-24 04:19:06 +00:00
Anthony Oleinik
a494a12bb0
Add "excluding" optional parameter to TargetPlatformVariant to communicate cases where test should be ran everywhere but specific platforms ( #106216 )
...
added "excluding" optional parameter to targetPlatforms.all
Co-authored-by: Anthony Oleinik <oleina@google.com>
2022-06-22 12:13:26 -07:00
Sam Rawlins
f104be7ae9
Ignore body_might_complete_normally_catch_error violations ( #105795 )
2022-06-16 23:12:06 +00:00
Alexandre Ardhuin
56c4e3cdd8
add some exports of public API in foundation/serialization.dart ( #104231 )
2022-06-08 13:33:12 -07:00
Nils Reichardt
64db621980
Remove new
keyword in a few files ( #104438 )
2022-06-06 16:08:06 -07:00
Pierre-Louis
74cfc3db67
Use curly_braces_in_flow_control_structures
for non-flutter
packages ( #104629 )
...
* Use `curly_braces_in_flow_control_structures` for `packages/flutter_driver`
* Use `curly_braces_in_flow_control_structures` for `packages/flutter_goldens`
* Use `curly_braces_in_flow_control_structures` for `packages/flutter_goldens_client`
* Use `curly_braces_in_flow_control_structures` for `packages/flutter_localizations`
* Use `curly_braces_in_flow_control_structures` for `packages/flutter_test`
* Use `curly_braces_in_flow_control_structures` for `packages/flutter_web_plugins`
* fix comments
* Use `curly_braces_in_flow_control_structures` for `packages/integration_test`
* fix indentation
2022-05-25 20:01:11 +02:00
Casey Hillers
da105b2b24
Revert "[framework] inline AbstractNode into RenderObject" ( #104257 )
2022-05-20 11:43:11 -07:00
Tong Mu
23bc3d64eb
[Mouse] Remove all pointers at the end of tests ( #102694 )
2022-05-19 17:48:10 -07:00
Jonah Williams
24bd28f696
[framework] inline AbstractNode into RenderObject ( #103832 )
2022-05-19 14:28:09 -07:00
xubaolin
b20e27e77e
Does not replace the root layer unnecessarily ( #101748 )
2022-05-05 18:44:10 -07:00
Callum Moffat
b5321d182a
Reland "Fix position of CupertinoContextMenu within Transform.scale" ( #102943 )
...
* Fix position of CupertinoContextMenu within Transform.scale (#97896 )
* Fix after rebase
2022-05-04 11:13:21 +02:00
Phil Quitslund
20f029e3bc
[devicelab, flutter_test, ...] rename local functions with _
s ( #102833 )
2022-05-03 10:29:06 -07:00
Darren Austin
7965ee25dd
Revert "Fix position of CupertinoContextMenu within Transform.scale ( #97896 )" ( #102938 )
...
This reverts commit 6ddb99e98f
.
2022-05-02 13:40:12 -07:00
Callum Moffat
6ddb99e98f
Fix position of CupertinoContextMenu within Transform.scale ( #97896 )
2022-05-02 21:56:09 +02:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Sai Sandeep Mutyala
7b580fd5df
Enable TestDefaultBinaryMessenger to intercept all platform channels. ( #100049 )
2022-04-25 10:44:07 -07:00
Daniel Cardona Rojas
a3a9a23e46
Add matcher to find at least a given number of widgets ( #102081 ) ( #102342 )
2022-04-22 15:24:10 -07:00
chunhtai
2ebc7bee9c
Adds tooltip to semantics node ( #87684 )
2022-04-21 12:14:09 -07:00
8rine23
9313fb8e28
The sample code used within the comments in textContaining is wrong ( #100860 )
2022-04-20 14:36:14 -07:00
chunhtai
796df06c32
Add API sample code to AccessibilityGuideline ( #102161 )
2022-04-19 14:34:08 -07:00
Callum Moffat
30a501801a
Support trackpad gestures in framework ( #89944 )
...
* Implement trackpad gestures in framework
* Touch and Pan/Zoom pointers have separate IDs now
* Handle trackpad pointer device type
* Respect supportedDevices for pan/zoom events
* Update after rebase
* Fix check failures
* Avoid error with very short drags
* Address feedback
* Refactor drag event handler
* Address more feedback
* Add some missing punctuation
2022-04-12 19:47:01 -07:00
Michael Goderbauer
a01424773e
Enable unnecessary_import ( #101600 )
2022-04-08 12:56:45 -07:00
Greg Spencer
efe76a5373
Update key examples to use Focus
widgets instead of RawKeyboardListener
( #101537 )
...
This updates the examples for PhysicalKeyboardKey and LogicalKeyboardKey to use Focus widgets that handle the keys instead of using RawKeyboardListener, since that usually leads people down the wrong path. Updated the See Also and added tests as well. Also exposed the `physicalKey` attribute for `tester.sendKeyEvent`.
2022-04-08 12:05:41 -07:00
matasb-google
120b3deb18
Improve A11Y guidelines/tests for flutter ( #100267 )
...
* Incorrect size comparison
* Code cleanup/formatting
* Additional tests
2022-04-06 10:59:37 +02:00
Michael Goderbauer
3e406c6781
Prepare packages
(minus tools,framework) for use_super_parameters
( #100510 )
2022-03-30 15:31:59 -07:00
Brian Quinlan
f6c4c3df19
Remove unnecessary ignore: override_on_non_overriding_member ( #99793 )
2022-03-16 19:10:17 -07:00
Harsh Bhikadia
fece72cac7
docs(flutter_test): fix mention of non-existing matchesSemanticsNode
( #99659 )
2022-03-16 18:55:18 -07:00
moko256
13bf7515f4
Web: treat modifier key without location ( #98460 )
2022-03-15 19:50:10 -07:00
Valentin Marquis
4f4c7816c3
Fix/text containing finder work with rich texts ( #99682 )
2022-03-13 23:35:07 -07:00
Viren Khatri
671aa9e95e
complete migration of flutter repo to Object.hash* ( #99505 )
2022-03-04 12:56:21 -08:00
Michael Goderbauer
852bfe2a73
Use BindingBase.platformDispatcher
over BindingBase.window
where possible ( #99443 )
2022-03-04 11:11:07 -08:00
LongCatIsLooong
81464ff642
Reland "[EditableText] honor the "brieflyShowPassword" system setting #97769 " ( #98150 )
2022-02-11 02:30:14 -08:00
Brian Quinlan
76855aa893
Add keyLog
and connectionFactory
to HttpClient implementations ( #98045 )
2022-02-11 00:35:16 -08:00
Callum Moffat
3f9c0e74f2
PointerDeviceKind forwards-compatibility in flutter_test ( #98202 )
2022-02-10 19:50:27 -08:00
godofredoc
3bdea6bb92
Revert "[EditableText] honor the "brieflyShowPassword" system setting ( #97769 )" ( #98089 )
...
This reverts commit 63f48d1ff8
.
2022-02-08 20:11:08 -08:00
LongCatIsLooong
63f48d1ff8
[EditableText] honor the "brieflyShowPassword" system setting ( #97769 )
2022-02-08 17:50:20 -08:00
Jonah Williams
4f975cbe2f
[framework] inline casts on Element.widget getter to improve web performance ( #97822 )
2022-02-08 13:05:21 -08:00
Ian Hickson
ab89ce285f
Clean up the bindings APIs. ( #89451 )
2022-02-03 14:55:15 -08:00
Jami Couch
af89a25e5b
Re-land "Support Scribble Handwriting" ( #96615 ) ( #97437 )
2022-02-01 09:50:07 -08:00
Justin McCandless
40c4da5cb8
Revert "Re-land "Support Scribble Handwriting" ( #96615 ) ( #96881 )" ( #97405 )
...
This reverts commit c54ce01575
.
2022-01-27 16:11:02 -08:00
Jami Couch
c54ce01575
Re-land "Support Scribble Handwriting" ( #96615 ) ( #96881 )
2022-01-27 15:10:21 -08:00
Lasse R.H. Nielsen
b8fd21b04e
Adds CommonFinders.bySubtype<T extends Widget>()
finder. ( #91415 )
2022-01-25 12:35:14 -08:00
Michael Goderbauer
5684b9f69e
Enable no_leading_underscores_for_local_identifiers ( #96422 )
2022-01-21 14:43:59 -08:00
Alberto
ee6a693cde
chore(flutter_test): updated 'matchesGoldenFile' documentation ( #96194 )
2022-01-20 15:25:20 -08:00
LongCatIsLooong
9c23106711
Revert "Support Scribble Handwriting" ( #96615 )
2022-01-13 12:00:19 -08:00
Michael Goderbauer
40a2689b9c
enable unnecessary_late ( #96417 )
2022-01-12 21:10:19 -08:00
Michael Goderbauer
5ac9714066
Enable no_leading_underscores_for_library_prefixes ( #96420 )
2022-01-11 17:35:13 -08:00
Jami Couch
9490917408
Support Scribble Handwriting ( #75472 )
2022-01-11 11:00:12 -08:00
Andrei Diaconu
a35e7aaed9
Add display features to MediaQuery ( #92906 )
2021-12-21 10:04:19 -08:00
Jia Hao
22dd0f42ef
[flutter_test] Fix incorrect missed budget count ( #95003 )
2021-12-10 18:44:11 -08:00
Michael Goderbauer
5a862ebecd
Replace dynamic with Object? in SystemChannels ( #94629 )
2021-12-03 15:34:04 -08:00
chunhtai
049ea73c4d
MinimumTextContrastGuideline should exclude disabled component ( #94489 )
2021-12-01 20:19:02 -08:00
Nick Abalov
544527caa5
Skip links in MinimumTapTargetGuideline. ( #93869 )
2021-11-30 17:34:05 -08:00
nt4f04uNd
3a18e6ee42
Fix reassemble in LiveTestWidgetsFlutterBinding ( #92217 )
2021-11-22 02:01:00 -08:00
Ian Hickson
299d484903
Enable more lints ( #91642 )
2021-10-14 22:03:03 -07:00
Ian Hickson
9421627324
Enable only_throw_errors
( #91567 )
2021-10-11 14:13:03 -07:00
Ian Hickson
f90b019c68
Enable prefer_relative_imports
and fix files. ( #91573 )
2021-10-11 10:28:07 -07:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint ( #91409 ) ( #91462 )
2021-10-08 09:25:14 -07:00
Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint ( #91409 )" ( #91461 )
...
This reverts commit 5fd259be24
.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint ( #91409 )
2021-10-07 20:13:02 -07:00
Ian Hickson
f25b833f27
Enable avoid_print
lint. ( #91444 )
2021-10-07 16:48:04 -07:00
Mouad Debbar
c2ea78d231
Revert "Enable avoid_print
lint. ( #91332 )" ( #91438 )
...
This reverts commit cb378edc9e
.
2021-10-07 16:16:17 -04:00
Ian Hickson
cb378edc9e
Enable avoid_print
lint. ( #91332 )
2021-10-07 09:53:03 -07:00
Ian Hickson
2bab6514b0
Enable avoid_implementing_value_types
lint ( #91078 )
2021-10-04 13:48:04 -07:00
Ian Hickson
989f864497
Enable avoid_setters_without_getters ( #91067 )
2021-10-01 00:58:05 -07:00
Kenzie (Schmoll) Davisson
15967669b2
Add richMessage
parameter to the Tooltip
widget. ( #88539 )
2021-09-29 15:31:54 -07:00
Ian Hickson
2420718389
Remove our extra timeout logic. ( #89952 )
2021-09-15 09:42:05 -07:00
Sam Rawlins
bcb5db7758
Remove "unnecessary" imports from packages/ ( #89795 )
2021-09-15 01:27:02 -07:00
Anis Alibegić
a753d09cc9
Fixed several typos ( #89485 )
2021-09-07 14:56:04 -07:00
Jim Graham
abfb889fff
Add raster cache metrics to timeline summaries ( #89393 )
2021-09-04 18:31:03 -07:00
arfy slowy
202fc02ca1
fix: typo spelling grammar ( #88439 )
2021-09-03 15:09:31 -07:00
Kate Lovett
616f9bcffa
Add tag support for executing reduced test sets ( #86821 )
2021-08-30 15:41:02 -07:00
嘟囔
7df68b906c
feat: widget finders add widgetWithImage method ( #89020 )
2021-08-26 22:11:02 -07:00
嘟囔
86fd222fab
feat: add Image support to finder ( #88761 )
2021-08-26 12:51:05 -07:00
Dan Field
c5861cfb56
Revert "Fix DPR in test view configuration ( #88609 )" ( #88889 )
...
This reverts commit 5feee0d8fa
.
2021-08-25 10:09:03 -07:00
Dan Field
5feee0d8fa
Fix DPR in test view configuration ( #88609 )
2021-08-24 14:26:54 -07:00
creativecreatorormaybenot
87b17c8ccf
Add RichText support to find.text() ( #87197 )
2021-08-23 14:47:29 -07:00
Jonah Williams
fa0782b696
reassign jonahwilliams todos ( #88707 )
2021-08-23 12:27:07 -07:00
nt4f04uNd
123ec80cfd
init ( #88427 )
2021-08-20 14:57:03 -07:00
Jonah Williams
060e4608b1
clean up stale or unnecessary TODOS ( #88308 )
2021-08-16 21:37:03 -07:00
Tong Mu
31d0787d20
Revert "Revert "Revert "Restores surface size in the postTest of test binding ( #87240 )" ( #87258 )" ( #87297 )" ( #88293 )
...
This reverts commit 91f8b6be51
.
2021-08-16 09:38:25 -07:00
Tong Mu
91f8b6be51
Revert "Revert "Restores surface size in the postTest of test binding ( #87240 )" ( #87258 )" ( #87297 )
...
This reverts commit ccf6f0353a
.
New impl
Remove temp
Format
2021-08-11 00:37:54 -07:00
Jonah Williams
5792c7347c
Use Device specific gesture configuration for scroll views ( #87604 )
2021-08-09 10:50:02 -07:00
Jonah Williams
0d3b44e835
[flutter] replace 'checked mode' with 'debug mode' ( #87408 )
2021-08-03 13:25:05 -07:00
Darren Austin
8322e178fa
Revert "Added 'exclude' parameter to 'testWidgets()'. ( #86397 )" ( #87515 )
2021-08-02 18:05:04 -07:00
chunhtai
67cee63087
Add string attribute api to text span ( #86667 )
2021-07-30 15:49:04 -07:00
Tong Mu
a7899c1961
[gen_keycodes] Remove nonexistent Web keys and improve their emulation ( #87098 )
2021-07-29 16:44:06 -07:00
Tong Mu
884158a6e3
Reland 3: Make LiveTestWidgetsFlutterBinding work with setSurfaceSize and live tests ( #87239 )
...
* Revert "Revert "Reland 2: Make LiveTestWidgetsFlutterBinding work with setSurfaceSize and live tests (#86912 )" (#87233 )"
This reverts commit 5b80d32a84
.
* Record tap positions
2021-07-29 15:11:26 -07:00
Tong Mu
caf876cf40
Reland: Keyboard events ( #87174 )
2021-07-29 14:24:03 -07:00
Tong Mu
ccf6f0353a
Revert "Restores surface size in the postTest of test binding ( #87240 )" ( #87258 )
...
This reverts commit 7707f42318
.
2021-07-29 01:50:54 -07:00
Tong Mu
7707f42318
Restores surface size in the postTest of test binding ( #87240 )
2021-07-28 19:28:28 -07:00
Tong Mu
5b80d32a84
Revert "Reland 2: Make LiveTestWidgetsFlutterBinding work with setSurfaceSize and live tests ( #86912 )" ( #87233 )
...
This reverts commit b50991d683
.
2021-07-28 15:44:09 -07:00
Tong Mu
2f4f170dd2
Revert "Keyboard events ( #83752 )" ( #87171 )
...
This reverts commit 5f792ba170
.
2021-07-28 02:32:08 -07:00
Tong Mu
b50991d683
Reland 2: Make LiveTestWidgetsFlutterBinding work with setSurfaceSize and live tests ( #86912 )
2021-07-27 14:44:03 -07:00
Tong Mu
5f792ba170
Keyboard events ( #83752 )
2021-07-26 12:28:05 -07:00
Darren Austin
eb62bce924
Added 'exclude' parameter to 'testWidgets()'. ( #86397 )
2021-07-22 12:35:40 -07:00
Tong Mu
24ad608bd8
Revert "Reland: Make LiveTestWidgetsFlutterBinding work with setSurfaceSize and live tests ( #86739 )" ( #86823 )
...
This reverts commit cf3d9409b3
.
2021-07-21 16:13:10 -07:00
Tong Mu
cf3d9409b3
Reland: Make LiveTestWidgetsFlutterBinding work with setSurfaceSize and live tests ( #86739 )
...
This PR fixes several bugs related to live tests, adds more tests, and completes the documentation of several methods related to pointer events.
2021-07-21 12:49:26 -07:00
Michael Goderbauer
b0e51db8d5
Fixes for upcoming changes to avoid_classes_with_only_static_members ( #86744 )
2021-07-20 16:12:12 -07:00
Emmanuel Garcia
0504fac7e2
Android e2e screenshot ( #84472 )
2021-07-20 13:36:04 -07:00
Kate Lovett
8802e325a0
Revert "Make LiveTestWidgetsFlutterBinding work with setSurfaceSize and live tests ( #86449 )" ( #86730 )
...
This reverts commit cd78190b0c
.
2021-07-20 14:56:50 -04:00
Danny Tuppeny
91b67e8eb1
Add a "variant: " prefix to variant descriptions in test names ( #86701 )
2021-07-20 09:16:03 -07:00