Siva
7c8e171320
Manual Roll of Flutter Engine from 67254d6e4b03 to 8d83b98c55b3 ( #116635 )
...
* Roll Flutter Engine from 67254d6e4b03 to 8d83b98c55b3
* Roll Dart SDK from 35a9facce191 to e517487c5679 (Dart 3.0) (#38105 )
* Bump SDK versions.
* Bump Dart SDK version constraints
* Update shrine package to 2.0.1 (null safe version)
* Fix more tests.
* Include patches from Jason for min android sdk version
* Fix analyzer warning
2022-12-08 18:03:51 -08: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
Casey Hillers
d2af134578
Revert "Fix Slider
semantic node size ( #115285 )" ( #116294 )
...
This reverts commit 8473da22cde2fcedd51af654822cac83a9b5ecb5.
2022-11-30 11:21:39 -08:00
Taha Tesser
8473da22cd
Fix Slider
semantic node size ( #115285 )
2022-11-30 02:27:45 +00:00
chunhtai
6b98f2ca44
labeledTapTargetGuideline should passe if textfield does not have label ( #116221 )
2022-11-30 00:10:07 +00: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 3895786f9854a73c92406f7f8ccf8db06d3581b7.
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 88e49ed274b5515caa9faaf03b261f9a73cf7e37.
2022-11-11 12:14:39 -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
Alex Wallen
154ae0f11b
updateSemantics
in TestWindow should always be implemented. (#114857 )
...
* Test that updateSemantics can be called
* Test that updateSemantics in FakeWindow is always implemented
* Sort import directives
Co-authored-by: a-wallen <stephenwallen@google.com>
2022-11-10 00:40:25 +00:00
Callum Moffat
48457d736b
WidgetController.startGesture trackpad support ( #114631 )
2022-11-04 17:13:53 +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
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
fzyzcjy
1966aaf8ba
AutomatedTestWidgetsFlutterBinding.pump
provides wrong pump time stamp, probably because of forgetting the precision (#112609 )
2022-10-10 18:32:25 +00: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 41b50c22b0a5bee445abb0557455d4ffe887d9f7.
2022-09-14 09:46:00 -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
Ankur Jain
986503981c
Add test where white text on white background fails contrast. ( #110217 )
2022-08-30 22:50:18 +00:00
Casey Hillers
41b50c22b0
Revert "Update accessibility contrast test coverage ( #109784 )" ( #110436 )
...
This reverts commit f477c8b184d2364fcef0a15cee6ab5c909188229.
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
pdblasi-google
c8c3f39c93
109638: Windows framework_tests_misc is 2.06% flaky ( #109640 )
2022-08-17 19:47:07 +00:00
Ian Hickson
9b2668a451
Minor fix compendium ( #107874 )
2022-08-11 02:33:07 +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
Dan Field
199cb2f5e6
Revert "Allow setting of TestWidgetsFlutterBinding.pointerEventSource ( #107976 )" ( #108038 )
...
This reverts commit 641f4e2403b08e946d04f30a570d29525c649e19.
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
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 3f43d9f3d4105d4190c839e087c42d79ebe092e8.
* Revert "Implement frameData for TestWindow (#105537 )"
This reverts commit 21841d7e3576ac2ac40dbdca6a3cd03cbdbf90ff.
2022-07-06 10:29:19 -07: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
Alexandre Ardhuin
526ca0d498
Export public API types from foundation/scheduler/gestures/semantics ( #106409 )
2022-06-24 21:21:05 +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
Darren Austin
2532584bf3
Update parameters to the styleFrom
button methods. ( #105291 )
...
* Update parameters to the `styleFrom` button methods.
* Updated the Flutter fix data to point to this PR.
* Updated handling of background color to better maintain backwards compatibility with previous API.
2022-06-21 19:08:22 -07:00
Sam Rawlins
f104be7ae9
Ignore body_might_complete_normally_catch_error violations ( #105795 )
2022-06-16 23:12:06 +00: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
Michael Goderbauer
2b14e993a7
Cleanup random dead test code ( #104568 )
2022-05-25 10:23:10 -07:00
Xilai Zhang
de230d393c
Revert "Add ability for ModalRoutes
to ignore pointers during transitions and do so on Cupertino
routes ( #95757 )" ( #104520 )
...
This reverts commit 4c0b0be2da5d1ee80c3d713e68ddd88d2cf2e72d.
2022-05-24 11:10:13 -07:00
Tong Mu
23bc3d64eb
[Mouse] Remove all pointers at the end of tests ( #102694 )
2022-05-19 17:48:10 -07:00
Will Lockwood
4c0b0be2da
Add ability for ModalRoutes
to ignore pointers during transitions and do so on Cupertino
routes ( #95757 )
2022-05-19 15:33:12 -07:00
Phil Quitslund
20f029e3bc
[devicelab, flutter_test, ...] rename local functions with _
s ( #102833 )
2022-05-03 10:29:06 -07: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