Commit graph

1627 commits

Author SHA1 Message Date
omerlevran46 f996033fcc
[fuchsia] - migrate devicer discovery workflows to use ffx (#76241) 2021-03-01 13:16:13 -08:00
Jonah Williams 72a835fa55
[flutter_tools] remove mocks from android SDK tests (#76887) 2021-02-27 11:56:01 -08:00
Jonah Williams dda17485cf
[flutter_tools] remove all mock artifacts usage (#76884) 2021-02-26 13:28:31 -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
Jonah Williams 666c950989
[flutter_tools] replace most MockBuildSystem instances with TestBuildSystem (#76821) 2021-02-26 08:46:00 -08:00
Jonah Williams 2f1702f78e
[flutter_tools] remove mock from terminal test (#76812) 2021-02-26 08:38:55 -08:00
Jenn Magder 023582db33
Stop trying to thin iOS App.framework (#76834) 2021-02-25 18:49:12 -08:00
Jenn Magder f5903a91e0
Remove dead ensureDirectoryExists (#76829) 2021-02-25 18:11:01 -08:00
Jonah Williams 2d4f5a98e8
[flutter_tools] remove mock from cmake project migrator (#76813) 2021-02-25 14:59:10 -08:00
Jonah Williams 09b2f435a8
[flutter_tools] remove mockito from mdns client test (#76747) 2021-02-25 12:16:02 -08:00
Perqin 131f59f17e
[flutter_tools] Avoid duplicated calls to l10n generation (#76066) 2021-02-25 12:11:03 -08:00
Jenn Magder 5bc100da31
Move iOS framework thinning into the tool (#76665) 2021-02-24 18:02:43 -08:00
Gary Qian 9df362a73f
[flutter_tools] Refactor DeferredComponents validator and add build target (#76400) 2021-02-24 17:51:03 -08:00
Jonah Williams a3b14c58ae
[flutter_tools] replace vm_service extension methods with wrapper class (#76721) 2021-02-24 15:40:33 -08:00
Jonah Williams acdf4ba871
[flutter_tools] remove process manager mocks from error_handling_io tests (#76725) 2021-02-24 14:51:04 -08:00
Jonah Williams 114ba8cc3e
[flutter_tools] add unit test for error 32 in cache deletion (#76714) 2021-02-24 12:11:03 -08:00
Jonah Williams bbaced6d12
[flutter_tools] cache adb path (#76650) 2021-02-23 17:26:02 -08:00
Jia Hao a341da6e0e
[flutter_tools] Don't stringify null values in EventPrinter (#76579) 2021-02-23 17:06:04 -08:00
Emmanuel Garcia 098ece522d
Disable warnings for the dart plugin registrant (#76561) 2021-02-23 11:45:33 -08:00
Jonah Williams b678d0adec
[flutter_tools] remove globals and mocks from android gradle builder and test (#76416) 2021-02-19 21:07:43 -08:00
Jenn Magder 841f2e082e
Do not show plugin embedding warning with missing example app (#76406) 2021-02-19 17:41:02 -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
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
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 65599e2825
[flutter_tools] use less path manipulation in the Android SDK (#75930) 2021-02-16 13:54:44 -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
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
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 980880e2b6
[flutter_tools] remove package HTTP and add pub.dev head check tests (#75871) 2021-02-12 10:44:19 -08:00