1045 Commits

Author SHA1 Message Date
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 41b50c22b0a5bee445abb0557455d4ffe887d9f7.
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 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
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 ff9fe35682e10d1067d918770048d28a1f462e0f.
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 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
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 3f43d9f3d4105d4190c839e087c42d79ebe092e8.

* Revert "Implement frameData for TestWindow (#105537)"

This reverts commit 21841d7e3576ac2ac40dbdca6a3cd03cbdbf90ff.
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