Commit Graph

1029 Commits

Author SHA1 Message Date
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
Greg Spencer
ab2b0851a2 Add smoke tests for all the examples, fix 17 broken examples. (#89021)
This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework.

The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead.

The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null.
2021-09-28 09:32:06 -07:00
Kate Lovett
65d8dd988d Update md5 method in flutter_goldens_client (#90154) 2021-09-15 17:42:05 -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
Christopher Fujino
81eb54bf78 update-packages (#88387) 2021-08-17 18:49:32 -07:00
Jonah Williams
060e4608b1 clean up stale or unnecessary TODOS (#88308) 2021-08-16 21:37:03 -07:00
Gary Qian
a562b3cb3d Deferred components integration test app (#88030) 2021-08-16 15:32:05 -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
Darren Austin
271ed8b21f Updated skipped tests for flutter_test directory. (#87880) 2021-08-09 11:06:35 -07:00
Jonah Williams
5792c7347c Use Device specific gesture configuration for scroll views (#87604) 2021-08-09 10:50:02 -07:00
Anna Gringauze
cc63c81408 Update all packages (#87579)
- Update dwds and and the rest of the packages

Closes: https://github.com/flutter/flutter/issues/87100
2021-08-03 16:37:48 -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
Cody Goldberg
ab6ce71402 [flutter_test/integration_test] added setSurfaceSize test coverage (#82712)
This PR includes an updated test case for integration_test and a new test case for flutter_test to ensure that hit tests transform properly when using setSurfaceSize, for both the IntegrationTestWidgetsFlutterBinding and LiveTestWidgetsFlutterBinding bindings.
2021-07-30 13:47:20 -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
Jason Simmons
fca95838e6 Restore the WidgetTester's original surface size after testing setSurfaceSize (#87202)
Fixes https://github.com/flutter/flutter/issues/87194
2021-07-28 09:40:08 -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
Greg Spencer
738ce43d97 Randomize tests, exclude tests that fail with randomization. (#86793)
* Randomize tests, exclude tests that fail with randomization.

* Disable some more tool tests
2021-07-26 23:40:49 -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