Jenn Magder
e5b5e1475c
Adopt FakeProcess, remove MockProcess ( #76276 )
2021-02-18 11:13:26 -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
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
J-P Nurmi
612ef20955
[flutter_tools] use 1-based index for device selection ( #72189 )
2020-12-21 09:29:05 -08:00
Jonah Williams
30c0fc1bce
[flutter_tools] remove globals from compile and devices ( #67485 )
...
Remove global variables from compile.dart and devices.dart (except for dds which needs more changes).
#47161
2020-10-08 12:28:58 -07:00
Jonah Williams
1bea512a83
[flutter_tools] flutter logs no longer requires supported device ( #66696 )
...
Flutter logs should not attempt to filter the device list based on the current project, because it does not require a current project. Also fix disabled polling test
Fixes #47996
Fixes #63550
2020-10-02 21:12:50 -07:00
Jenn Magder
becaf4913f
Replace MockCache with Cache.test() ( #66946 )
2020-09-30 14:53:57 -07:00
Michael R Fairhurst
7f3c9b6bda
Remove unused 'dart:async' imports. ( #65568 )
2020-09-16 14:14:06 -07:00
includecmath
6d46ff7e9b
[flutter_tools] flutter run should allow exit when make choose for devices. ( #64403 )
2020-09-02 17:30:04 -07:00
Jenn Magder
6175183545
Add --device-timeout flag to device-related commands ( #64834 )
2020-09-02 15:38:52 -07:00
Jonah Williams
9225d8d5b7
[flutter_tools] move to fake_async, skip failing tests ( #63536 )
2020-08-11 19:36:05 -07:00
Jonah Williams
c86d090e6f
[flutter_tools] add --null-assertions flag for debugging with null safety ( #63416 )
2020-08-11 11:36:03 -07:00
Jenn Magder
f9499f44f7
Detect exact device ID matches quickly ( #62070 )
2020-07-24 16:15:44 -07:00
Natan Portilho
f567a0cc98
Device manager choose running device ( #57349 )
2020-07-08 09:41:02 -07:00
Jonah Williams
5cfcae004a
[flutter_tools] fix tests that depend on correct cache existance ( #60241 )
...
These tests will hit the real Cache, failing if the flutter root has been modified
2020-06-24 16:45:46 -07:00
Jonah Williams
5d61bff294
[flutter_tools] even more test fixes ( #60156 )
...
Fix tests broken under tester
2020-06-24 10:23:59 -07:00
Jenn Magder
79e2409419
Fake out DeviceManager.getDevices in test ( #58541 )
2020-06-03 11:48:37 -07:00
Jenn Magder
f4d26a3b85
Change iOS device discovery from polling to long-running observation ( #58137 )
2020-06-01 12:33:01 -07:00
Jenn Magder
bd430081e0
Make initial daemon devices population fast ( #56959 )
2020-05-14 11:00:51 -07:00
Kirill Pertsev
d6806392a8
Implements --machine flag for devices
command ( #50581 )
2020-04-09 09:14:16 -07:00
Jenn Magder
2f216ceee5
Add timeout flag to devices command, pipe through discovery ( #51678 )
2020-03-16 14:15:00 -07:00
Jenn Magder
85b54d4c0c
Change DeviceManager.getAllConnectedDevices() return value from Stream to List ( #51015 )
2020-02-19 17:40:24 -08:00
Ian Hickson
449f4a6673
License update ( #45373 )
...
* Update project.pbxproj files to say Flutter rather than Chromium
Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
* Update the copyright notice checker to require a standard notice on all files
* Update copyrights on Dart files. (This was a mechanical commit.)
* Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
Some were already marked "The Flutter Authors", not clear why. Their
dates have been normalized. Some were missing the blank line after the
license. Some were randomly different in trivial ways for no apparent
reason (e.g. missing the trailing period).
* Clean up the copyrights in non-Dart files. (Manual edits.)
Also, make sure templates don't have copyrights.
* Fix some more ORGANIZATIONNAMEs
2019-11-27 15:04:02 -08:00
Zachary Anderson
0dfabb2ae1
[flutter_tool] Use engine flutter_runner prebuilts ( #43381 )
...
* [flutter_tool] Use engine flutter_runner prebuilts
* Update packages/flutter_tools/lib/src/fuchsia/fuchsia_build.dart
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
2019-10-28 09:38:08 -07:00
Christopher Fujino
ed482c3e09
Stop leaking iproxy processes ( #42026 )
2019-10-09 16:30:27 -07:00
Jonah Williams
b2a4ebe38f
Handle single unsupported device ( #39541 )
2019-08-29 21:39:38 -07:00
Jonah Williams
b257c33b69
Use DeviceManager instead of device to determine if device supports project ( #36213 )
2019-07-15 16:10:39 -07:00
Ian Hickson
d919e694b8
Move tools tests into a general.shard directory in preparation to changing how we shard tools tests ( #36108 )
2019-07-13 11:51:44 -07:00