Commit Graph

7577 Commits

Author SHA1 Message Date
Jason Simmons
73ec544238 Update all packages and upgrade to path_provider 2.0.0-nullsafety (#76420) 2021-02-19 16:40:24 -08:00
Jonah Williams
75470a0051 [flutter_tools] unify gradle/android sdk reinitialize checks in cache.dart (#76342) 2021-02-19 13:47:12 -08:00
Emmanuel Garcia
b7d4806243 Implement dartPluginClass support for plugins (#74469) 2021-02-19 09:22:45 -08:00
Jenn Magder
62d8969203 Adopt Artifacts.test(localEngine:) in a few tests (#76354) 2021-02-18 19:31:03 -08:00
Jenn Magder
6fec8b3679 Remove mockito from windows_device_test (#76355) 2021-02-18 19:26:02 -08:00
Jonah Williams
6b14558a68 [flutter_tools] remove global usage of flutterUsage from gradle (#76330) 2021-02-18 15:52:00 -08:00
Sam Rawlins
ba58ad0385 Remove "unnecessary" imports in test/general.shard (#75954) 2021-02-18 13:38:24 -08:00
Jenn Magder
4436334f8a Adopt TestUsage in flutter_command_test (#76282) 2021-02-18 12:52:04 -08:00
Jonah Williams
04182572f7 [flutter_tools] allow bypassing context for FlutterProject creation, remove fromPath (#76258) 2021-02-18 12:36:04 -08:00
Gary Qian
ba5cc2cba4 [flutter_tools] Deferred components setup validator (#75739) 2021-02-18 12:01:03 -08:00
Jonah Williams
bfcb43d2fc [flutter_tools] remove local engine from globals in gradle (#76277) 2021-02-18 11:30:44 -08:00
Jenn Magder
e5b5e1475c Adopt FakeProcess, remove MockProcess (#76276) 2021-02-18 11:13:26 -08:00
Jenn Magder
23e41734e5 Swap Mocks to Fakes in config_test (#76274) 2021-02-18 00:46:02 -08:00
Jenn Magder
36203142df Delete MockResidentCompiler (#76280) 2021-02-18 00:01:04 -08:00
Jenn Magder
5e61466794 Adopt FileExceptionHandler in a few tests (#76279) 2021-02-17 23:41:04 -08:00
Jenn Magder
90531179f5 MockProcessManager -> FakeProcessManager in os_test (#76264) 2021-02-17 23:21:02 -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
Jenn Magder
d3c8a0bd25 Remove mocks from visual_studio_test (#76260) 2021-02-17 19:40:51 -08:00
Jenn Magder
805fffd11b Swap Mocks to Fakes in build_fuchsia_test (#76266) 2021-02-17 19:37:31 -08:00
Jonah Williams
db1e9f053f update all packages (#76254) 2021-02-17 17:33:56 -08:00
Jonah Williams
555721de24 [flutter_tools] remove mock process manager from gradle tests (#76252) 2021-02-17 17:00:12 -08:00
Jonah Williams
93e7d34dc4 [flutter_tools] Remove globals/mocks from GradleUtils (#76020) 2021-02-17 14:26:57 -08:00
Danny Tuppeny
74b6ce9abb Pass --run-skipped through to package:test (#76133) 2021-02-17 12:51:02 -08:00
Jia Hao
9e55af5246 [flutter_tools] Decouple FlutterPlatform from Process (#74236) 2021-02-17 10:06:04 -08:00
omerlevran46
75c853c8e7 [fuchsia] - update getting local host address logic (#75981) 2021-02-16 16:36:03 -08:00
Jonah Williams
7088c5ba2a Update all packages (#76143) 2021-02-16 15:29:12 -08:00
Jonah Williams
65599e2825 [flutter_tools] use less path manipulation in the Android SDK (#75930) 2021-02-16 13:54:44 -08:00
Jonah Williams
820fb0bf2b [flutter_tools] stop using throttled print for service extensions (#76022) 2021-02-16 12:11:57 -08:00
Jonah Williams
46b8ea8fe6 [flutter_tools] use temp dir for tester dill, use desktop log reader (#75922)
On windows, its not possible to run 2 integration tests using flutter-tester simultaneously. This is due to the flutter tester using a fixed location for its dill output. Use a temp dir instead.

Also replace the custom log reader in flutter-tester with the desktop log reader, and ensure stopApp waits for the process exit code.

Fixes #75534
2021-02-16 10:18:04 -08:00
stuartmorgan
13d051f2f4 Update link for missing desktop projects (#76123) 2021-02-16 09:51:03 -08:00
Ian Hickson
ce318b7b53 All arguments must be documented. (#75888) 2021-02-14 12:56:05 -08:00
Jonah Williams
dce8f71228 [flutter_tools] do not use context logger in gradle (#75940) 2021-02-12 17:38:52 -08:00
Jonah Williams
bf132435e2 [flutter_tools] delete exit immediately test (#75927) 2021-02-12 15:28:24 -08:00
Hidenori Matsubayashi
4cc0ab2d19 [flutter_tools] Add ARM64 Linux host and cross-building option support (#61221) 2021-02-12 14:25:30 -08:00
Jonah Williams
97a9f2ae93 [flutter_tools] move gradle helper methods into AndroidBuilder class body, split unit tests (#75931) 2021-02-12 14:24:13 -08:00
Jonah Williams
fb808b40f9 [flutter_tools] add package:http to forbidden imports test (#75925) 2021-02-12 14:23:08 -08:00
Jonah Williams
980880e2b6 [flutter_tools] remove package HTTP and add pub.dev head check tests (#75871) 2021-02-12 10:44:19 -08:00
Jenn Magder
ba5e237e24 Avoid duplicating Pods-Runner xcconfig #includes (#75822) 2021-02-11 14:11:15 -08:00
mx1up
cc95c972b7 properly pass on gradle exit code (#71484) (#71582) 2021-02-11 14:11:03 -08:00
Yegor
e7953b3be4 [web] new service worker loading mechanism (#75535) 2021-02-11 09:16:21 -08:00
Jonah Williams
7ab8517f7e [flutter_tools] refactor devtools handler to expose single method for run/attach and restart (#75807) 2021-02-10 17:04:47 -08:00
Jonah Williams
b05d6ec8d3 [flutter_tools] catch error 32 in cache (#75719) 2021-02-10 17:04:32 -08:00
Jenn Magder
5b823cded8 Remove dead mock classes (#75757) 2021-02-10 17:01:28 -08:00
Jenn Magder
9236eefdff MockPub -> FakePub (#75759) 2021-02-10 17:01:20 -08:00
Ian Hickson
b1cc48748d Only write the pid-file while listening to SIGUSR signals. (#74533) 2021-02-10 16:06:05 -08:00
Jenn Magder
8f3a6245f0 Consolidate ascii spinner stop in devtools activation (#75679) 2021-02-09 16:06:35 -08:00
Jenn Magder
88e6d46d5e MockProcessManager -> FakeProcessManager (#75544) 2021-02-09 16:05:30 -08:00
Jonah Williams
8df58eb650 [flutter_tools] use a single fake implementation of HttpClient (#75471) 2021-02-09 15:32:03 -08:00
Jonah Williams
645cb64392 [flutter_tools] do not crash if shared profile restoration fails (#75718) 2021-02-09 15:31:48 -08:00
Jonah Williams
3aece33534 [flutter_tools] refactor devtools handler into its own class (#75444) 2021-02-09 15:31:39 -08:00