Jenn Magder
9e88fe328e
Remove globals_null_migrated.dart, move into globals.dart ( #92861 )
2021-11-01 17:18:03 -07:00
Yegor
ad7727a21c
[web] enable CanvasKit tests using a local bundle fetched from CIPD ( #92134 )
2021-10-21 11:13:18 -07:00
Christopher Fujino
34ec94a16d
[flutter_tools] migrate web_device.dart to null-safety ( #91632 )
2021-10-19 01:33:08 -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
4315cdcf76
Some test cleanup for flutter_tools. ( #90227 )
2021-10-01 10:38:02 -07:00
stuartmorgan
97fb8c0560
Fix Dart plugin registrant interaction with 'flutter test' ( #90288 )
...
Building an application for a desktop platform that transitively included any Dart-based plugins (such as path_provider) broke `flutter test`, because its compilation was overriding the provided main (in this case, the test main) with `generated_main.dart` if it was present. This PR:
- Changes the `flutter test` compilation path to update `generated_main.dart`, so that the tests will work, and will include any registered Dart plugins.
- Makes using `generated_main.dart` during recompile opt-in, to try to reduce the chance of a similar bug happening with other codepaths in the future.
Fixes https://github.com/flutter/flutter/issues/88794
2021-09-30 20:25:13 -07:00
Anis Alibegić
a753d09cc9
Fixed several typos ( #89485 )
2021-09-07 14:56:04 -07:00
Jason Simmons
ddb8bfb72b
Fix URL construction in the test entry point generated by the web bootstrap script ( #88201 )
2021-08-16 14:12:05 -07:00
Anna Gringauze
44d9af80cb
Flutter_tools for web: report error messages with stacks on exit ( #87386 )
...
* Flutter_tools for web platform: report error messages with stacks on toolExit
Print error messages and stacks in verbose mode before calling
`throwToolExit` on communication errors to chrome and dwds.
This will help us disagnose CI flakes:
Helps: https://github.com/flutter/flutter/issues/84012
Closes: https://github.com/flutter/flutter/issues/87149
* Added tests
* Extend timeout for testing failure to connect to chrome
* Update rest of chrome tests to await until matching is finished
2021-08-03 10:51:35 -07:00
Jonah Williams
88e756d19e
[flutter_tools] well known device ids ( #85184 )
2021-06-24 18:46:04 -07:00
Jonah Williams
ad540e4f3f
[flutter_tools] retry chrome launch up to 3 times ( #85162 )
2021-06-23 19:26:02 -07:00
Anis Alibegić
c99ed373b3
Fixed large amount of spelling errors ( #83744 )
2021-06-02 10:14:06 -07:00
Alexandre Ardhuin
34059eec2c
enable lint prefer_interpolation_to_compose_strings ( #83407 )
2021-06-01 11:14:06 -07:00
Jonah Williams
03a3e7b1e4
Revert "[flutter_tools] fix top web crasher ( #83272 )" ( #83376 )
2021-05-25 17:49:04 -07:00
Jonah Williams
a8ec764609
[flutter_tools] fix top web crasher ( #83272 )
2021-05-24 18:04:02 -07:00
Jenn Magder
0d79013a81
Move globals.artifacts to globals_null_migrated, update imports ( #83137 )
2021-05-21 18:35:02 -07:00
nt4f04uNd
80a2b6b015
Fix typos ( #82589 )
2021-05-20 17:19:09 -07:00
Balvinder Singh Gambhir
4a33813b35
[flutter_tools] added base-href command in web ( #80519 )
2021-05-19 12:39:02 -07:00
Hattomo (TomohiroHattori)
08a70e7ac8
Enable avoid_escaping_inner_quotes lint ( #81153 )
2021-05-19 09:54:02 -07:00
Gary Roumanis
e3fd8dbfd5
Update loader style ( #82485 )
2021-05-13 22:59:03 -07:00
Gary Roumanis
0cb0767bd7
Flutter Web Loading Indicator ( #81581 )
2021-04-30 21:04:02 -07:00
Jonah Williams
3bc2378ad2
[flutter_tools] remove mocks from devfs web, cache, and xcode migrator test ( #81475 )
2021-04-30 17:24:04 -07:00
Jonah Williams
e3625706a8
[flutter_tools] remove mocks, globals from golden comparator and test runner tests | Reland
...
This reverts commit 027d4ecaba
.
2021-04-29 22:40:59 -07:00
Michael Goderbauer
027d4ecaba
Revert "[flutter_tools] remove mocks, globals from golden comparator and test runner tests ( #81423 )" ( #81487 )
...
This reverts commit 8fe4cc7964
.
2021-04-29 10:56:57 -07:00
Jonah Williams
8fe4cc7964
[flutter_tools] remove mocks, globals from golden comparator and test runner tests ( #81423 )
2021-04-29 07:56:34 -07:00
Jonah Williams
064eae8c38
[flutter_tools] remove mocks and fix fake imports ( #81309 )
2021-04-27 11:51:41 -07:00
Jonah Williams
52661bc713
[flutter_tools] skip copying 1GB of data from chrome cache dirs ( #81170 )
...
* [flutter_tools] skip copying 1GB of data from chrome cache dirs
* Update chrome.dart
2021-04-26 13:02:42 -07:00
Emmanuel Garcia
b0a63c4ffe
Reland the Dart plugin registry ( #79669 )
2021-04-23 15:34:04 -07:00
Jonah Williams
b30d97a64c
[flutter_tools] split host artifacts out of Artifacts ( #80876 )
2021-04-22 19:29:02 -07:00
Jenn Magder
a99fba01f1
Move FakeOperatingSystemUtils from context.dart to fakes.dart ( #80916 )
2021-04-22 10:44:02 -07:00
Phil Quitslund
61c30c41b2
fix sort_directives violations ( #80817 )
2021-04-21 13:49:03 -07:00
Jenn Magder
f2417e6c1c
Launch Chrome natively on ARM macOS ( #80758 )
2021-04-20 19:39:58 -07:00
Jenn Magder
56c0002c47
Adopt FakeProcessManager.empty ( #80480 )
2021-04-15 14:19:02 -07:00
Jenn Magder
436ca01e14
Migrate features_tests and other tool tests to null safety ( #80168 )
2021-04-12 12:35:02 -07:00
Jenn Magder
cf27be38a9
Migrate web_validator to null safety ( #80095 )
2021-04-08 21:04:02 -07:00
Jenn Magder
fef6f543da
Check if reg can run before calling it on Windows ( #79905 )
2021-04-08 16:55:38 -07:00
Sam Rawlins
68492c5b69
Remove "unnecessary" imports. ( #78664 )
2021-04-06 11:19:02 -07:00
Jenn Magder
79f1689f6a
Migrate doctor_validator to null safety ( #79682 )
2021-04-05 11:54:54 -07:00
Jenn Magder
8ddc27e607
Split globals.dart into null sound and unsound libraries ( #79016 )
2021-03-31 16:55:20 -07:00
Danny Tuppeny
563338a106
Support WebSockets for injected client ( #78961 )
2021-03-24 10:45:03 -07:00
Danny Tuppeny
596133a723
Pass the --disable-dds flag through to dwds ( #78806 )
2021-03-23 12:36:53 -07:00
Jenn Magder
628ae57e4e
Remove mocks from compile_expression_test ( #78092 )
2021-03-15 16:06:54 -07:00
Jenn Magder
75da995fbc
MockOperatingSystemUtils -> FakeOperatingSystemUtils ( #77988 )
2021-03-15 11:38:03 -07:00
Jenn Magder
d018c24bb8
MockProcessUtils->FakeProcessManager in version_test ( #77985 )
2021-03-12 16:38:04 -08:00
Jenn Magder
66768f8c5b
Remove mocks from web devices test ( #77968 )
2021-03-11 19:55:02 -08:00
Michael Goderbauer
cb867bbedc
Enable unnecessary_await_in_return lint ( #77434 )
2021-03-05 18:38:15 -08:00
Jonah Williams
2951363dc8
[flutter_tools] switch FakeCache to cache.test and NoopUsage to TestUsage ( #76802 )
2021-02-26 11:13:32 -08:00
Jenn Magder
e5b5e1475c
Adopt FakeProcess, remove MockProcess ( #76276 )
2021-02-18 11:13:26 -08:00