Jonah Williams
a1fa62ad6f
[flutter_tools] remove mocks from build_apk_test ( #82412 )
2021-05-13 12:04:06 -07:00
Alexandre Ardhuin
7d46d43635
use throwsXxx instead of throwsA(isA<Xxx>()) ( #82328 )
2021-05-12 09:59:02 -07:00
Alexandre Ardhuin
c03e7488b4
remove noop primitive operations ( #82297 )
2021-05-12 00:04:02 -07:00
Renan
293756455c
Re-land: Allow users to pass in Xcode build settings as env variables to flutter build macos FLUTTER_XCODE_ ( #82298 )
2021-05-11 17:09:09 -07:00
Alexandre Ardhuin
df3662b15e
use throwsA ( #82238 )
2021-05-11 10:19:01 -07:00
Michael Goderbauer
532a79c857
Integrate package:flutter_lints into templates ( #81417 )
2021-05-10 16:19:04 -07:00
Jenn Magder
783e1dd22c
Standardize build system environment defines derived from build info ( #81879 )
2021-05-07 17:04:02 -07:00
Zachary Anderson
04bb954a7d
Revert "Allow users to pass in Xcode build settings as env variables to flutter build macos FLUTTER_XCODE_ ( #81384 )" ( #82004 )
...
This reverts commit 0bba935b76
.
2021-05-06 19:04:23 -07:00
Jenn Magder
3e6fe491f3
Remove extended attributes from entire Flutter project ( #81435 )
2021-05-06 16:34:04 -07:00
Renan
0bba935b76
Allow users to pass in Xcode build settings as env variables to flutter build macos FLUTTER_XCODE_ ( #81384 )
2021-05-06 16:29:04 -07:00
Sam Rawlins
133a55ae51
Remove "unnecessary" imports. ( #81003 )
2021-05-06 16:19:07 -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
Jenn Magder
ba4177f6da
Find Android Studio installations with Spotlight query on macOS ( #80475 )
2021-04-28 19:09:03 -07:00
Jenn Magder
cbf885b749
Replace MockAndroidDevice and MockIOSDevice with fakes ( #81352 )
2021-04-28 13:39:02 -07:00
Matej Knopp
f6726b425d
Add support for DarwinArchs when assembling macOS App.framework ( #81243 )
2021-04-28 11:33:36 -07:00
Erick
aecd5e0302
[flutter_tools] always build test assets ( #81341 )
2021-04-27 20:53:57 -07:00
Jenn Magder
db3f49b1b4
Use cached Xcode build settings during iOS build ( #80904 )
2021-04-27 17:20:11 -07:00
Jonah Williams
c7d1dc9ba2
[flutter_tools] remove mocks from clean test ( #81311 )
2021-04-27 15:51:52 -07:00
Ian Hickson
6beafa7b16
Apply style guide regarding createTempSync pattern ( #81090 )
2021-04-27 14:59:03 -07:00
Ian Hickson
a7eb2c8a1a
Use "aliases" in args to fix some technical debt ( #81073 )
2021-04-27 14:54:03 -07:00
Sam Rawlins
cd956c17d2
Remove "unnecessary" imports in flutter_tools ( #81008 )
2021-04-26 10:49:03 -07:00
Jonah Williams
84bc2382f7
[flutter_tools] do not check for pubspec.yaml in packages forward command ( #81059 )
2021-04-23 13:39:20 -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
Jonah Williams
8663aea5e4
[flutter_tools] run UWP builds ahead of cmake ( #80879 )
2021-04-22 10:14:37 -07:00
Jenn Magder
18a118b952
Log full app bundle location after "flutter build ios" ( #80838 )
2021-04-21 21:39:03 -07:00
Jonah Williams
63ba1b23ca
[flutter_tools] add support for --bundle-sksl-path to flutter run
/ flutter drive
( #80885 )
2021-04-21 13:59:02 -07:00
Phil Quitslund
61c30c41b2
fix sort_directives violations ( #80817 )
2021-04-21 13:49:03 -07:00
Hannes Winkler
1f8e9ff7a7
[tool] cleanup bundle builder a bit ( #80740 )
2021-04-21 09:24:02 -07:00
Jenn Magder
95d7d671c6
Remove analyze --dartdocs flag ( #80484 )
2021-04-18 09:29:02 -07:00
Jenn Magder
72976f552c
Migrate xcodeproj to null safety ( #80549 )
2021-04-16 17:22:46 -07:00
Jenn Magder
16c73829a6
Migrate reporting library to null safety ( #80320 )
2021-04-15 17:01:34 -07:00
Jenn Magder
56c0002c47
Adopt FakeProcessManager.empty ( #80480 )
2021-04-15 14:19:02 -07:00
Christopher Casey
f0c9710493
Add --dart-define to build bundle ( #80333 )
2021-04-13 18:29:40 -07:00
Jenn Magder
e11a1a83af
Remove mocks from fucshia_pm_test, reduce createMockProcess usage ( #80321 )
2021-04-13 13:53:18 -07:00
Jenn Magder
23404dfa74
Remove flutter_command dependency from reporting library ( #80159 )
2021-04-12 16:45:03 -07:00
Jenn Magder
ff7b91b932
Migrate tools test fakes to null safety ( #80154 )
2021-04-09 17:32:54 -07:00
Jonah Williams
7533c47465
[flutter_tools] dont require a device for screenshot type skia/rasterizer ( #80153 )
2021-04-09 16:59:02 -07:00
Jenn Magder
1a36c18497
Tell user how to enable available but disabled features ( #79977 )
2021-04-08 23:33:00 -07:00
Jonah Williams
ac770423ec
[flutter_tools] Allow flutter build aar to know the null safety mode ahead of time ( #80000 )
2021-04-08 15:22:55 -07:00
Jonah Williams
a3e66b3967
[flutter_tools] handle out of date xcode config in assemble ( #79983 )
2021-04-08 15:22:38 -07:00
Jenn Magder
ec14cef060
Migrate more tool unit tests to null safety ( #80002 )
2021-04-08 15:18:52 -07:00
Jenn Magder
3e5f620a00
Convert some general.shard base tests to null safety ( #79985 )
2021-04-08 14:55:19 -07:00
Jenn Magder
a2f67720ef
Migrate test/src/common to null safety ( #79907 )
2021-04-06 22:55:03 -07:00
Jenn Magder
eb9a2f0ca5
Move cache from globals to globals_null_migrated ( #79900 )
2021-04-06 17:57:40 -07:00
Jonah Williams
0a59698ebe
[flutter_tools] migrate cache to null safety ( #79864 )
2021-04-06 14:44:02 -07:00
Jonah Williams
4d1b74a0df
[flutter_tools] generate empty plugin registrants for winuwp and fix local engine for winuwp_ ( #79827 )
2021-04-06 13:13:20 -07:00
Sam Rawlins
3e4320847a
Remove "unnecessary" imports in test/commands.shard. ( #78665 )
2021-04-06 11:14:01 -07:00
Jenn Magder
79f1689f6a
Migrate doctor_validator to null safety ( #79682 )
2021-04-05 11:54:54 -07:00
Jonah Williams
3bec9c2a57
[flutter_tools] allow winuwp build to setup generated Cmake ( #79676 )
2021-04-02 22:44:02 -07:00
Jia Hao
23015dc501
[flutter_tools] Remove exception for chain stack traces for Integration Tests ( #79618 )
2021-04-02 14:54:03 -07:00
Jia Hao
e868a8335b
Remove the warning about the Integration Test plugin ( #79520 )
2021-04-01 18:49:02 -07:00
Jia Hao
4471282d7a
[flutter_tools] Normalize paths before checking for Integration Tests ( #79521 )
2021-04-01 13:48:05 -07:00
Jonah Williams
4ae68a3aa2
[flutter_tools] Move sksl writing out of vm_service ( #79455 )
2021-04-01 13:23:40 -07:00
Jenn Magder
152af5aba7
Fix device_port_forwarder file name typo ( #79481 )
2021-03-31 18:14:03 -07:00
Jenn Magder
8ddc27e607
Split globals.dart into null sound and unsound libraries ( #79016 )
2021-03-31 16:55:20 -07:00
Jonah Williams
29207e4f78
[flutter_tools] split application package factory dependencies ( #79461 )
2021-03-31 15:11:58 -07:00
Jonah Williams
6b3093b6af
[flutter_tools] remove globals from Device and separate FlutterDeviceManager ( #79454 )
2021-03-31 12:59:00 -07:00
Jia Hao
9e3eadb98d
[flutter_tools] Support Integration Tests ( #76200 )
2021-03-30 19:29:02 -07:00
Jonah Williams
f59b185be4
[flutter_tools] do not make drive require pub if --no-pub is requested ( #79379 )
2021-03-30 11:39:02 -07:00
Michael Thomsen
2cdd51900c
Enable null safety by default in templates ( #78619 )
2021-03-30 10:16:05 +02:00
Zachary Anderson
512ea8f9d0
[flutter_tools] Remove reference to pm genkey and -k ( #79047 )
2021-03-25 14:51:45 -07:00
Jenn Magder
8893e89d11
Migrate device_port_forwarder to null safety ( #78949 )
2021-03-24 16:56:14 -07:00
Jenn Magder
d165ea5c42
Migrate os to null safety ( #78901 )
2021-03-23 17:28:09 -07:00
Jenn Magder
3463946448
Take screenshot when drive fails ( #78822 )
2021-03-22 19:06:28 -07:00
Jonah Williams
cf903d7392
[flutter_tools] remove globals from process, filesystem ( #78357 )
2021-03-22 10:35:40 -07:00
Marcel Čampa
e85fe60d00
Command flutter create
respects disabled iOS and Android ( #78406 )
2021-03-22 09:53:05 -07:00
Jonah Williams
985fc7463c
[flutter_tools] add skeleton for build uwp ( #78624 )
...
Adds the rest of the scaffolding for building a UWP application. The actual build functionality needs to be implemented, but could use buildWindows as an example (if it is going through cmake)
#14967
2021-03-19 15:36:42 -07:00
Jonah Williams
4807f806e2
[flutter_tools] remove globals from logger ( #78353 )
2021-03-16 16:46:21 -07:00
Jenn Magder
b3fa6eb6f5
Download platform artifacts from assemble if needed ( #78272 )
2021-03-16 13:48:04 -07:00
Jonah Williams
2584afd7ec
[flutter_tools] scaffolding for Windows UWP template ( #78067 )
2021-03-16 13:43:04 -07:00
Jenn Magder
61c848c1bd
Point "flutter build ipa --analyze-size" to archive app output ( #78259 )
2021-03-16 09:43:02 -07:00
Jenn Magder
8b14454496
Remove MockFlutterVersion from mocks ( #78089 )
2021-03-15 10:58:36 -07:00
Jenn Magder
f0fca7de8b
Remove mocks from build_windows_test ( #77986 )
2021-03-12 16:40:52 -08:00
Jenn Magder
d018c24bb8
MockProcessUtils->FakeProcessManager in version_test ( #77985 )
2021-03-12 16:38:04 -08:00
Jonah Williams
a01f37245b
[flutter_tools] remove globals from terminal ( #77953 )
2021-03-12 12:53:05 -08:00
Jenn Magder
06a20be5a0
Remove MockBuildSystem from generate_synthetic_packages_test ( #77983 )
2021-03-12 07:55:01 -08:00
Jenn Magder
66768f8c5b
Remove mocks from web devices test ( #77968 )
2021-03-11 19:55:02 -08:00
Jenn Magder
d6f5767ec8
Remove MockFlutterVersions ( #77962 )
2021-03-11 16:05:05 -08:00
Sam Rawlins
dc1bdcc757
Remove "unnecessary" imports. ( #77559 )
2021-03-09 13:09:30 -08:00
Jonah Williams
d39d450594
[flutter_tools] remove most globals from resident web runner ( #77432 )
2021-03-08 14:38:26 -08:00
Michael Goderbauer
cb867bbedc
Enable unnecessary_await_in_return lint ( #77434 )
2021-03-05 18:38:15 -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
Jonah Williams
945e0df104
[flutter_tools] remove several AndroidSdk Mocks ( #77264 )
2021-03-04 12:24:03 -08:00
Jonah Williams
dd6097806d
[flutter_tools] remove mocks from build_aar_test ( #77170 )
2021-03-03 14:04:04 -08:00
Jonah Williams
dda17485cf
[flutter_tools] remove all mock artifacts usage ( #76884 )
2021-02-26 13:28:31 -08:00
Jenn Magder
2a54bb02aa
Opt into CocoaPods parallel codesigning ( #76833 )
2021-02-26 13:16:03 -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
a49d677349
[flutter_tools] simplify packages pass-through testing ( #76806 )
2021-02-26 08:38:32 -08:00
Jenn Magder
d099ae60f0
Add ephemeral iOS directory to put future generated files ( #76830 )
2021-02-25 18:16: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
Daniel Gomez
739adf3d3e
Add sharding options to test command line ( #76382 )
2021-02-23 16:26:03 -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
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
04182572f7
[flutter_tools] allow bypassing context for FlutterProject creation, remove fromPath ( #76258 )
2021-02-18 12:36:04 -08:00
Jenn Magder
23e41734e5
Swap Mocks to Fakes in config_test ( #76274 )
2021-02-18 00:46:02 -08:00
Jenn Magder
5e61466794
Adopt FileExceptionHandler in a few tests ( #76279 )
2021-02-17 23:41:04 -08:00
Jenn Magder
805fffd11b
Swap Mocks to Fakes in build_fuchsia_test ( #76266 )
2021-02-17 19:37:31 -08:00
Danny Tuppeny
74b6ce9abb
Pass --run-skipped through to package:test ( #76133 )
2021-02-17 12:51:02 -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
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
Hidenori Matsubayashi
4cc0ab2d19
[flutter_tools] Add ARM64 Linux host and cross-building option support ( #61221 )
2021-02-12 14:25:30 -08:00
Jenn Magder
9236eefdff
MockPub -> FakePub ( #75759 )
2021-02-10 17:01:20 -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
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
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
godofredoc
da6528cda6
Point to a new artifacts location. ( #70673 )
...
This is in preparation to move the flutter artifacts to a more secure
location.
Bug:
go/fxb/64576
2021-02-04 18:44:47 -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
Jonah Williams
24d8dbb1e5
[flutter_tools] remove web defines workaround ( #75361 )
2021-02-03 15:14:59 -08:00
Jonah Williams
3b884aa613
Catch VM Service disappearance from run/attach handler code ( #75298 )
2021-02-03 10:53:15 -08:00
Jia Hao
efd487922d
[flutter_tools] Merge some test options into DebuggingOptions ( #75213 )
2021-02-02 19:31:03 -08:00
Jonah Williams
2dfc86ea0b
[flutter_tools] remove mockito from flutter symbolize test ( #75263 )
2021-02-02 12:27:41 -08:00
Jonah Williams
44d5950d27
[flutter_tools] switch dart defines to base64 to avoid windows control characters ( #75027 )
...
= gets escaped into %3D which seems to be tripping up cmake on windows since % is a control character. Switch to base64 encoding, since this does not have % nor , in the output character set.
This change is not trivially cherry pickable, and isn't tested on windows aside from my local, manual tests due to the planned CI work not being complete yet.
Fixes #75017
Fixes #74705
2021-02-02 09:10:48 -08:00
Jonah Williams
aebf548436
[flutter_tools] skip web renderer defines unless web target is picked ( #75160 )
2021-02-02 09:05:44 -08:00
Ian Hickson
8acac060bf
Remove the timeout when launching DevTools ( #74859 )
2021-02-01 16:06:02 -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
Jenn Magder
6ecb8cbcfa
Replace MockUsage with TestUsage ( #74946 )
2021-01-28 18:49:04 -08:00
Jenn Magder
bf248fade2
Allow 'flutter create' in dev and example directories ( #74932 )
2021-01-28 15:24:09 -08:00
Darshan Rander
7c22f0d214
Added warning when not enabled platform is selected ( #73205 )
2021-01-28 13:54:04 -08:00
Jonah Williams
b926c7b696
[flutter_tools] rewrite Usage.test to capture objects instead of print logs ( #74829 )
2021-01-28 12:41:14 -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
Jenn Magder
3f380ca544
Swap mockito import for test/fake ( #74847 )
2021-01-27 16:02:44 -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
Michael Goderbauer
63267e9016
Make flutter create --smaple null-safe ( #74844 )
2021-01-27 14:44:03 -08:00
Jenn Magder
fe921211df
Replace MockXcode with Xcode.test in more unit tests ( #74827 )
2021-01-27 13:07:07 -08:00
Jenn Magder
1ad6edb8d5
Remove MockProcessManager from channel_test and other tests ( #74780 )
2021-01-27 11:17:29 -08:00
Jenn Magder
bf37a3964b
Rename setUpMockXcodeBuildHandler -> setUpFakeXcodeBuildHandler in tests ( #74778 )
2021-01-26 21:19:02 -08:00
Jonah Williams
1d3f697160
[flutter_tools] flag flip ( #74444 )
2021-01-22 09:29:57 -08:00
Jonah Williams
d325705332
[flutter_tools] pub get skips example dir if there is no pubspec.yaml ( #74264 )
2021-01-19 15:02:36 -08:00
Michael Goderbauer
2f7804f41b
Add null safety note to flutter create ( #74265 )
2021-01-19 14:52:43 -08:00
Jonah Williams
a0be98020e
[flutter_tools] ensure pub get can run from partially valid state ( #74249 )
2021-01-19 12:29:07 -08:00
Jonas Finnemann Jensen
bf89943d94
Fix pub upgrade to work with new arguments ( #74060 )
2021-01-15 17:39:56 -08:00
Dan Field
6a32859eb9
Revert integration_test in flutter create template ( #74068 )
...
* Revert "Add integration_test template to create template (#70240 )"
This reverts commit d047d108eb
.
* test
2021-01-15 13:13:46 -08:00
J-P Nurmi
e1ff62a78c
[flutter_tools] propagate build errors from the backend ( #72196 )
2021-01-14 13:39:05 -08:00
Jonah Williams
907bed6982
[flutter_tools] daemon does not report platforms that are not enabled ( #73736 )
2021-01-12 09:38:23 -08:00
Jonah Williams
f7dc19eb23
[flutter_tools] flutter precache downloads all enabled platforms if no flags are provided ( #73733 )
2021-01-11 14:29:02 -08:00
Jenn Magder
9a83314cfe
Generate dSYM files during iOS archive ( #73630 )
2021-01-11 12:42:31 -08:00
Ferhat
0c80a31256
[web] Reland - Switch flutter tool web-renderer default for web to auto ( #73595 )
2021-01-08 15:44:13 -08:00
Jonah Williams
df98145548
[flutter_tools] add API for passing arbitrary flags to tester binary ( #73576 )
2021-01-08 11:46:15 -08:00