Commit Graph

4129 Commits

Author SHA1 Message Date
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
Jia Hao
bc20f2ee88 [flutter_tools] Fail fast when test dependencies are missing (#76679) 2021-02-24 09:11:03 -08:00
Sam Rawlins
e43738824e Remove unused imports of system libraries. (#76436) 2021-02-24 08:41: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
Daniel Gomez
739adf3d3e Add sharding options to test command line (#76382) 2021-02-23 16:26:03 -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
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
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