Commit graph

195 commits

Author SHA1 Message Date
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
Jenn Magder 5e61466794
Adopt FileExceptionHandler in a few tests (#76279) 2021-02-17 23:41:04 -08:00
Jonah Williams d65c98b4a2
[flutter_tools] replace some mock file/directories with new op handle (#76268) 2021-02-17 21:26:03 -08:00
Jonah Williams 93e7d34dc4
[flutter_tools] Remove globals/mocks from GradleUtils (#76020) 2021-02-17 14:26:57 -08:00
Jonah Williams 645cb64392
[flutter_tools] do not crash if shared profile restoration fails (#75718) 2021-02-09 15:31:48 -08:00
Sam Rawlins e8d52be500
Remove "unnecessary" imports in flutter_tools tests (#75012) 2021-02-09 09:46:07 -08:00
Jonah Williams 021311ed8a
Revert "[flutter_tools] move process manager into tool (#75350)" (#75639)
This reverts commit 8b6baae44c.
2021-02-08 09:21:46 -08:00
Jonah Williams 8b6baae44c
[flutter_tools] move process manager into tool (#75350)
Our current top crasher is an unclear error when ProcessManager fails to resolve an executable path. To fix this, we'd like to being adjusting the process resolution logic and adding more instrumentation to track failures. In order to begin the process, the ProcessManager has been folded back into the flutter tool
2021-02-04 13:19:11 -08:00
Jonah Williams 18b1e23e89
[flutter_tools] move some fakes out of mocks.dart (#74992) 2021-01-29 14:28:18 -08:00
Jenn Magder dbb1958c5e
Add canRun override to FakeProcessManager (#74865) 2021-01-28 19:06:56 -08:00
Jonah Williams 74bd7b6f6d
[flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832)
* opt out the flutter tool

* oops EOF

* fix import

* Update tool_backend.dart

* Update daemon_client.dart

* fix more
2021-01-27 15:17:53 -08:00
Jonah Williams 32db0fe791
[flutter_tools] provide correct sources and metadata for different base hrefs (#74452) 2021-01-21 23:04:03 -08:00
Jonah Williams 68d8c4b3bb
[flutter_tools] open chrome to correct base URL (#73962) 2021-01-14 12:16:32 -08:00
Jia Hao 47bad77287
Support flutter_test_config for flutter test on web platforms (#72488) 2021-01-05 15:49:02 -08:00
Jonah Williams 9e5c8771d4
[flutter_tools] wire up native-null-assertions for flutter web (#71618) 2020-12-03 08:59:31 -08:00
Jonah Williams 5d201a35aa
[flutter_tools] allow hiding web server device, provide flags to re-enable (#71434) 2020-12-01 09:53:27 -08:00
Jonah Williams c07661cbc5
[flutter_tools] share bootstrap module between run and test (#70903) 2020-11-20 12:11:24 -08:00
Jonah Williams a76289bb1b
[flutter_tools] run web unit tests in sound null safety (#70799) 2020-11-19 16:49:05 -08:00
Jonah Williams 4832e64cad
[flutter_tools] remove globals from flutter web platform (#70863) 2020-11-19 13:06:30 -08:00
Jonah Williams f8940709b2
[flutter_tools] refactor shared memory filesystem logic (#70795) 2020-11-18 17:29:13 -08:00