Commit Graph

624 Commits

Author SHA1 Message Date
Ian Hickson
0cbe597540 Align more closely with package:test (#77118) 2021-03-15 16:28:02 -07:00
Jenn Magder
628ae57e4e Remove mocks from compile_expression_test (#78092) 2021-03-15 16:06:54 -07:00
Jenn Magder
8b14454496 Remove MockFlutterVersion from mocks (#78089) 2021-03-15 10:58:36 -07:00
Jenn Magder
d018c24bb8 MockProcessUtils->FakeProcessManager in version_test (#77985) 2021-03-12 16:38:04 -08:00
Jenn Magder
06a20be5a0 Remove MockBuildSystem from generate_synthetic_packages_test (#77983) 2021-03-12 07:55:01 -08:00
Jenn Magder
d6f5767ec8 Remove MockFlutterVersions (#77962) 2021-03-11 16:05:05 -08:00
Jonah Williams
b15465fc92 [flutter_tools] simplify fake imports for FakeProcessManager (#77748) 2021-03-09 15:55:02 -08:00
Jonah Williams
acda272cf2 [flutter_tools] add tool feature/scaffold for UWP (#77399) 2021-03-08 08:09:04 -08:00
Michael Goderbauer
807bb29888 enable prefer_function_declarations_over_variables lint (#77398) 2021-03-05 18:29:04 -08:00
Jonah Williams
721702717d [flutter_tools] replace MockFlutterVersion usage with fake where possible, move from context (#77390) 2021-03-05 14:04:03 -08:00
Jenn Magder
7e02cc34f9 Bitcode strip Flutter.framework in assemble build target (#77329) 2021-03-05 10:38:57 -08:00
Gary Qian
ee41782732 [flutter_tools] Deferred components build system (#76192) 2021-03-04 18:09:02 -08:00
Michael Goderbauer
7b251f5f37 Enable use_function_type_syntax_for_parameters lint (#77163) 2021-03-04 08:59:17 -08:00
Jenn Magder
67b2ca893e Update minimum required version to Xcode 12 (#77025) 2021-03-03 11:00:35 -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
a3b14c58ae [flutter_tools] replace vm_service extension methods with wrapper class (#76721) 2021-02-24 15:40:33 -08:00
Jenn Magder
e5b5e1475c Adopt FakeProcess, remove MockProcess (#76276) 2021-02-18 11:13:26 -08:00
Jenn Magder
36203142df Delete MockResidentCompiler (#76280) 2021-02-18 00:01: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
Jenn Magder
d3c8a0bd25 Remove mocks from visual_studio_test (#76260) 2021-02-17 19:40:51 -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
980880e2b6 [flutter_tools] remove package HTTP and add pub.dev head check tests (#75871) 2021-02-12 10:44:19 -08:00
Jenn Magder
9236eefdff MockPub -> FakePub (#75759) 2021-02-10 17:01:20 -08:00
Jonah Williams
8df58eb650 [flutter_tools] use a single fake implementation of HttpClient (#75471) 2021-02-09 15:32:03 -08:00
Jenn Magder
faa1a251f8 Move FakeBotDetector to fakes (#75543) 2021-02-09 12:43:53 -08:00
Jenn Magder
152d88a3df Add exception to FakeCommand (#75545) 2021-02-09 10:07:46 -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
Jenn Magder
86c21c5d8f Replace MockPlistParser with FakePlistParser (#75276) 2021-02-04 10:39:58 -08:00
Jenn Magder
73506f36f7 Replace MockConfig with TestConfig (#75044) 2021-02-01 18:16:05 -08:00
Jenn Magder
43d604e131 Replace context FakeUsage with TestUsage (#75170) 2021-02-01 15:02:25 -08:00
Jonah Williams
18b1e23e89 [flutter_tools] move some fakes out of mocks.dart (#74992) 2021-01-29 14:28:18 -08:00
Jonah Williams
e53c48968f [flutter_tools] remove mock SystemClock (#74994) 2021-01-29 14:28:08 -08:00
Jenn Magder
dbb1958c5e Add canRun override to FakeProcessManager (#74865) 2021-01-28 19:06:56 -08:00
Jenn Magder
ff87150ba9 Revert "Swap MockStdio to FakeStdio in tests (#74838)" (#74867)
This reverts commit 547ed88ab3.
2021-01-27 19:35:16 -08:00
Jenn Magder
547ed88ab3 Swap MockStdio to FakeStdio in tests (#74838) 2021-01-27 17:33:47 -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
Alexandre Ardhuin
d546e1d311 fix for upcoming lint use_named_constants (#74788) 2021-01-27 20:20:44 +01:00
Jenn Magder
1ad6edb8d5 Remove MockProcessManager from channel_test and other tests (#74780) 2021-01-27 11:17:29 -08:00
Dan Field
d1538320d2 Roll packages to null safe (vm_service, test, etc.) (#74671) 2021-01-26 09:15:54 -08:00
Jenn Magder
35000147e6 Re-add tool test general per-test timeout (#74531) 2021-01-25 12:47:01 -08:00
Jonas Finnemann Jensen
bf89943d94 Fix pub upgrade to work with new arguments (#74060) 2021-01-15 17:39:56 -08:00
Jenn Magder
062022b950 Move ios_content_validation_test to pre-submit tools test (#73577) 2021-01-11 10:29:06 -08:00
Jonah Williams
7c618758bb [flutter_tools] delegate first run message re-display to new class, only if changed (#73353) 2021-01-05 18:44:04 -08:00
Jenn Magder
cdacae89e1 Revert "Launch named iOS simulators (#72323)" (#72447)
This reverts commit 84a7a611b0.
2020-12-16 11:52:59 -08:00
Jenn Magder
84a7a611b0 Launch named iOS simulators (#72323) 2020-12-15 15:06:47 -08:00
Kenzie Schmoll
cd452286ab Launch DevTools from pub instead of devtools_server (#71737)
* Launch DevTools from pub instead of devtools_server
2020-12-14 10:12:42 -08:00
Jonah Williams
e8b87f7cd2 [flutter_tools] enable CK restart tests (#71598) 2020-12-02 13:10:54 -08:00