Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
c6ced845
Unverified
Commit
c6ced845
authored
May 07, 2022
by
Jenn Magder
Committed by
GitHub
May 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove custom `unawaited`, prefer `dart:async` version (#103212)
parent
2427d4f3
Changes
54
Hide whitespace changes
Inline
Side-by-side
Showing
54 changed files
with
15 additions
and
74 deletions
+15
-74
flutter_attach_test_fuchsia.dart
dev/devicelab/bin/tasks/flutter_attach_test_fuchsia.dart
+0
-1
module_test_ios.dart
dev/devicelab/bin/tasks/module_test_ios.dart
+1
-1
routing_test.dart
dev/devicelab/bin/tasks/routing_test.dart
+0
-1
run_release_test.dart
dev/devicelab/bin/tasks/run_release_test.dart
+0
-1
run_release_test_macos.dart
dev/devicelab/bin/tasks/run_release_test_macos.dart
+0
-1
service_extensions_test.dart
dev/devicelab/bin/tasks/service_extensions_test.dart
+0
-1
test_runner.dart
dev/devicelab/bin/test_runner.dart
+1
-1
common.dart
dev/devicelab/lib/common.dart
+0
-14
browser.dart
dev/devicelab/lib/framework/browser.dart
+0
-2
devices.dart
dev/devicelab/lib/framework/devices.dart
+0
-1
runner.dart
dev/devicelab/lib/framework/runner.dart
+0
-1
utils.dart
dev/devicelab/lib/framework/utils.dart
+0
-1
dart_plugin_registry_tests.dart
dev/devicelab/lib/tasks/dart_plugin_registry_tests.dart
+0
-1
perf_tests.dart
dev/devicelab/lib/tasks/perf_tests.dart
+0
-1
web_benchmarks.dart
dev/devicelab/lib/tasks/web_benchmarks.dart
+0
-1
android_device.dart
packages/flutter_tools/lib/src/android/android_device.dart
+1
-1
android_emulator.dart
packages/flutter_tools/lib/src/android/android_emulator.dart
+0
-1
android_workflow.dart
packages/flutter_tools/lib/src/android/android_workflow.dart
+2
-0
common.dart
packages/flutter_tools/lib/src/base/common.dart
+0
-11
process.dart
packages/flutter_tools/lib/src/base/process.dart
+0
-1
update_packages.dart
packages/flutter_tools/lib/src/commands/update_packages.dart
+1
-0
analysis.dart
packages/flutter_tools/lib/src/dart/analysis.dart
+0
-1
pub.dart
packages/flutter_tools/lib/src/dart/pub.dart
+2
-0
desktop_device.dart
packages/flutter_tools/lib/src/desktop_device.dart
+0
-1
fuchsia_pm.dart
packages/flutter_tools/lib/src/fuchsia/fuchsia_pm.dart
+2
-0
code_signing.dart
packages/flutter_tools/lib/src/ios/code_signing.dart
+2
-0
devices.dart
packages/flutter_tools/lib/src/ios/devices.dart
+0
-1
ios_deploy.dart
packages/flutter_tools/lib/src/ios/ios_deploy.dart
+0
-1
mac.dart
packages/flutter_tools/lib/src/ios/mac.dart
+2
-1
xcdevice.dart
packages/flutter_tools/lib/src/macos/xcdevice.dart
+0
-1
devices.dart
packages/flutter_tools/lib/src/proxied_devices/devices.dart
+0
-1
resident_devtools_handler.dart
...ages/flutter_tools/lib/src/resident_devtools_handler.dart
+0
-1
run_cold.dart
packages/flutter_tools/lib/src/run_cold.dart
+0
-1
run_hot.dart
packages/flutter_tools/lib/src/run_hot.dart
+0
-1
flutter_tester_device.dart
...ges/flutter_tools/lib/src/test/flutter_tester_device.dart
+0
-1
flutter_web_goldens.dart
packages/flutter_tools/lib/src/test/flutter_web_goldens.dart
+0
-1
integration_test_device.dart
...s/flutter_tools/lib/src/test/integration_test_device.dart
+0
-1
analyze_continuously_test.dart
...st/commands.shard/hermetic/analyze_continuously_test.dart
+0
-1
daemon_test.dart
...utter_tools/test/commands.shard/hermetic/daemon_test.dart
+0
-1
doctor_test.dart
...utter_tools/test/commands.shard/hermetic/doctor_test.dart
+0
-1
proxied_devices_test.dart
...ls/test/commands.shard/hermetic/proxied_devices_test.dart
+0
-1
async_guard_test.dart
...utter_tools/test/general.shard/base/async_guard_test.dart
+0
-1
compile_expression_test.dart
...ter_tools/test/general.shard/compile_expression_test.dart
+0
-1
daemon_test.dart
packages/flutter_tools/test/general.shard/daemon_test.dart
+0
-1
devices_test.dart
...es/flutter_tools/test/general.shard/ios/devices_test.dart
+0
-1
proxied_devices_test.dart
...t/general.shard/proxied_devices/proxied_devices_test.dart
+0
-1
resident_web_runner_cold_test.dart
...ols/test/general.shard/resident_web_runner_cold_test.dart
+0
-1
resident_web_runner_test.dart
...er_tools/test/general.shard/resident_web_runner_test.dart
+0
-1
runner_test.dart
.../flutter_tools/test/general.shard/runner/runner_test.dart
+0
-1
vmservice_test.dart
...ages/flutter_tools/test/general.shard/vmservice_test.dart
+0
-1
hot_reload_test.dart
...flutter_tools/test/integration.shard/hot_reload_test.dart
+0
-1
test_driver.dart
...ges/flutter_tools/test/integration.shard/test_driver.dart
+0
-1
fake_vm_services.dart
packages/flutter_tools/test/src/fake_vm_services.dart
+0
-1
daemon_client.dart
packages/flutter_tools/tool/daemon_client.dart
+1
-2
No files found.
dev/devicelab/bin/tasks/flutter_attach_test_fuchsia.dart
View file @
c6ced845
...
...
@@ -7,7 +7,6 @@ import 'dart:convert';
import
'dart:io'
;
import
'dart:math'
;
import
'package:flutter_devicelab/common.dart'
;
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/framework/task_result.dart'
;
...
...
dev/devicelab/bin/tasks/module_test_ios.dart
View file @
c6ced845
...
...
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:convert'
;
import
'dart:io'
;
import
'dart:typed_data'
;
import
'package:flutter_devicelab/common.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/framework/host_agent.dart'
;
import
'package:flutter_devicelab/framework/ios.dart'
;
...
...
dev/devicelab/bin/tasks/routing_test.dart
View file @
c6ced845
...
...
@@ -6,7 +6,6 @@ import 'dart:async';
import
'dart:convert'
;
import
'dart:io'
;
import
'package:flutter_devicelab/common.dart'
;
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/framework/task_result.dart'
;
...
...
dev/devicelab/bin/tasks/run_release_test.dart
View file @
c6ced845
...
...
@@ -6,7 +6,6 @@ import 'dart:async';
import
'dart:convert'
;
import
'dart:io'
;
import
'package:flutter_devicelab/common.dart'
;
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/framework/task_result.dart'
;
...
...
dev/devicelab/bin/tasks/run_release_test_macos.dart
View file @
c6ced845
...
...
@@ -6,7 +6,6 @@ import 'dart:async';
import
'dart:convert'
;
import
'dart:io'
;
import
'package:flutter_devicelab/common.dart'
;
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/framework/task_result.dart'
;
...
...
dev/devicelab/bin/tasks/service_extensions_test.dart
View file @
c6ced845
...
...
@@ -6,7 +6,6 @@ import 'dart:async';
import
'dart:convert'
;
import
'dart:io'
;
import
'package:flutter_devicelab/common.dart'
;
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/framework/task_result.dart'
;
...
...
dev/devicelab/bin/test_runner.dart
View file @
c6ced845
...
...
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:io'
;
import
'package:args/command_runner.dart'
;
import
'package:flutter_devicelab/command/test.dart'
;
import
'package:flutter_devicelab/command/upload_results.dart'
;
import
'package:flutter_devicelab/common.dart'
;
final
CommandRunner
<
void
>
runner
=
CommandRunner
<
void
>(
'devicelab_runner'
,
'DeviceLab test runner for recording test results'
)
...
...
dev/devicelab/lib/common.dart
deleted
100644 → 0
View file @
2427d4f3
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Indicates to the linter that the given future is intentionally not awaited.
///
/// Has the same functionality as `unawaited` from `package:pedantic`.
///
/// In an async context, it is normally expected than all Futures are awaited,
/// and that is the basis of the lint unawaited_futures which is turned on for
/// the flutter_tools package. However, there are times where one or more
/// futures are intentionally not awaited. This function may be used to ignore a
/// particular future. It silences the unawaited_futures lint.
void
unawaited
(
Future
<
void
>
future
)
{
}
dev/devicelab/lib/framework/browser.dart
View file @
c6ced845
...
...
@@ -10,8 +10,6 @@ import 'dart:math' as math;
import
'package:path/path.dart'
as
path
;
import
'package:webkit_inspection_protocol/webkit_inspection_protocol.dart'
;
import
'../common.dart'
;
/// The number of samples used to extract metrics, such as noise, means,
/// max/min values.
///
...
...
dev/devicelab/lib/framework/devices.dart
View file @
c6ced845
...
...
@@ -9,7 +9,6 @@ import 'dart:math' as math;
import
'package:path/path.dart'
as
path
;
import
'../common.dart'
;
import
'utils.dart'
;
const
String
DeviceIdEnvName
=
'FLUTTER_DEVICELAB_DEVICEID'
;
...
...
dev/devicelab/lib/framework/runner.dart
View file @
c6ced845
...
...
@@ -9,7 +9,6 @@ import 'dart:io';
import
'package:meta/meta.dart'
;
import
'package:vm_service/vm_service.dart'
;
import
'../common.dart'
;
import
'cocoon.dart'
;
import
'devices.dart'
;
import
'task_result.dart'
;
...
...
dev/devicelab/lib/framework/utils.dart
View file @
c6ced845
...
...
@@ -11,7 +11,6 @@ import 'package:path/path.dart' as path;
import
'package:process/process.dart'
;
import
'package:stack_trace/stack_trace.dart'
;
import
'../common.dart'
;
import
'devices.dart'
;
import
'host_agent.dart'
;
import
'task_result.dart'
;
...
...
dev/devicelab/lib/tasks/dart_plugin_registry_tests.dart
View file @
c6ced845
...
...
@@ -8,7 +8,6 @@ import 'dart:io';
import
'package:path/path.dart'
as
path
;
import
'../common.dart'
;
import
'../framework/framework.dart'
;
import
'../framework/task_result.dart'
;
import
'../framework/utils.dart'
;
...
...
dev/devicelab/lib/tasks/perf_tests.dart
View file @
c6ced845
...
...
@@ -10,7 +10,6 @@ import 'dart:math' as math;
import
'package:meta/meta.dart'
;
import
'package:path/path.dart'
as
path
;
import
'../common.dart'
;
import
'../framework/devices.dart'
;
import
'../framework/framework.dart'
;
import
'../framework/host_agent.dart'
;
...
...
dev/devicelab/lib/tasks/web_benchmarks.dart
View file @
c6ced845
...
...
@@ -12,7 +12,6 @@ import 'package:shelf/shelf.dart';
import
'package:shelf/shelf_io.dart'
as
shelf_io
;
import
'package:shelf_static/shelf_static.dart'
;
import
'../common.dart'
;
import
'../framework/browser.dart'
;
import
'../framework/task_result.dart'
;
import
'../framework/utils.dart'
;
...
...
packages/flutter_tools/lib/src/android/android_device.dart
View file @
c6ced845
...
...
@@ -10,7 +10,7 @@ import 'package:process/process.dart';
import
'../android/android_builder.dart'
;
import
'../android/android_sdk.dart'
;
import
'../application_package.dart'
;
import
'../base/common.dart'
show
throwToolExit
,
unawaited
;
import
'../base/common.dart'
show
throwToolExit
;
import
'../base/file_system.dart'
;
import
'../base/io.dart'
;
import
'../base/logger.dart'
;
...
...
packages/flutter_tools/lib/src/android/android_emulator.dart
View file @
c6ced845
...
...
@@ -9,7 +9,6 @@ import 'package:process/process.dart';
import
'../android/android_sdk.dart'
;
import
'../android/android_workflow.dart'
;
import
'../base/common.dart'
;
import
'../base/file_system.dart'
;
import
'../base/io.dart'
;
import
'../base/logger.dart'
;
...
...
packages/flutter_tools/lib/src/android/android_workflow.dart
View file @
c6ced845
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:async'
;
import
'package:process/process.dart'
;
import
'../base/common.dart'
;
...
...
packages/flutter_tools/lib/src/base/common.dart
View file @
c6ced845
...
...
@@ -23,14 +23,3 @@ class ToolExit implements Exception {
@override
String
toString
()
=>
'Exception:
$message
'
;
// TODO(ianh): Really this should say "Error".
}
/// Indicates to the linter that the given future is intentionally not awaited.
///
/// Has the same functionality as `unawaited` from `package:pedantic`.
///
/// In an async context, it is normally expected than all Futures are awaited,
/// and that is the basis of the lint unawaited_futures which is turned on for
/// the flutter_tools package. However, there are times where one or more
/// futures are intentionally not awaited. This function may be used to ignore a
/// particular future. It silences the unawaited_futures lint.
void
unawaited
(
Future
<
void
>?
future
)
{
}
packages/flutter_tools/lib/src/base/process.dart
View file @
c6ced845
...
...
@@ -7,7 +7,6 @@ import 'dart:async';
import
'package:process/process.dart'
;
import
'../convert.dart'
;
import
'common.dart'
;
import
'io.dart'
;
import
'logger.dart'
;
...
...
packages/flutter_tools/lib/src/commands/update_packages.dart
View file @
c6ced845
...
...
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:collection'
;
import
'package:meta/meta.dart'
;
...
...
packages/flutter_tools/lib/src/dart/analysis.dart
View file @
c6ced845
...
...
@@ -7,7 +7,6 @@ import 'dart:math' as math;
import
'package:process/process.dart'
;
import
'../base/common.dart'
;
import
'../base/file_system.dart'
;
import
'../base/io.dart'
;
import
'../base/logger.dart'
;
...
...
packages/flutter_tools/lib/src/dart/pub.dart
View file @
c6ced845
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:async'
;
import
'package:package_config/package_config.dart'
;
import
'package:process/process.dart'
;
...
...
packages/flutter_tools/lib/src/desktop_device.dart
View file @
c6ced845
...
...
@@ -7,7 +7,6 @@ import 'dart:async';
import
'package:process/process.dart'
;
import
'application_package.dart'
;
import
'base/common.dart'
;
import
'base/file_system.dart'
;
import
'base/io.dart'
;
import
'base/logger.dart'
;
...
...
packages/flutter_tools/lib/src/fuchsia/fuchsia_pm.dart
View file @
c6ced845
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:async'
;
import
'../base/common.dart'
;
import
'../base/file_system.dart'
;
import
'../base/io.dart'
;
...
...
packages/flutter_tools/lib/src/ios/code_signing.dart
View file @
c6ced845
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:async'
;
import
'package:process/process.dart'
;
import
'../base/common.dart'
;
...
...
packages/flutter_tools/lib/src/ios/devices.dart
View file @
c6ced845
...
...
@@ -8,7 +8,6 @@ import 'package:meta/meta.dart';
import
'package:process/process.dart'
;
import
'package:vm_service/vm_service.dart'
as
vm_service
;
import
'../base/common.dart'
;
import
'../base/file_system.dart'
;
import
'../base/io.dart'
;
import
'../base/logger.dart'
;
...
...
packages/flutter_tools/lib/src/ios/ios_deploy.dart
View file @
c6ced845
...
...
@@ -8,7 +8,6 @@ import 'package:meta/meta.dart';
import
'package:process/process.dart'
;
import
'../artifacts.dart'
;
import
'../base/common.dart'
;
import
'../base/file_system.dart'
;
import
'../base/io.dart'
;
import
'../base/logger.dart'
;
...
...
packages/flutter_tools/lib/src/ios/mac.dart
View file @
c6ced845
...
...
@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:async'
;
import
'package:meta/meta.dart'
;
import
'package:process/process.dart'
;
import
'../artifacts.dart'
;
import
'../base/common.dart'
;
import
'../base/file_system.dart'
;
import
'../base/io.dart'
;
import
'../base/logger.dart'
;
...
...
packages/flutter_tools/lib/src/macos/xcdevice.dart
View file @
c6ced845
...
...
@@ -7,7 +7,6 @@ import 'dart:async';
import
'package:process/process.dart'
;
import
'../artifacts.dart'
;
import
'../base/common.dart'
;
import
'../base/io.dart'
;
import
'../base/logger.dart'
;
import
'../base/platform.dart'
;
...
...
packages/flutter_tools/lib/src/proxied_devices/devices.dart
View file @
c6ced845
...
...
@@ -8,7 +8,6 @@ import 'dart:typed_data';
import
'package:meta/meta.dart'
;
import
'../application_package.dart'
;
import
'../base/common.dart'
;
import
'../base/file_system.dart'
;
import
'../base/io.dart'
;
import
'../base/logger.dart'
;
...
...
packages/flutter_tools/lib/src/resident_devtools_handler.dart
View file @
c6ced845
...
...
@@ -9,7 +9,6 @@ import 'dart:async';
import
'package:browser_launcher/browser_launcher.dart'
;
import
'package:meta/meta.dart'
;
import
'base/common.dart'
;
import
'base/logger.dart'
;
import
'build_info.dart'
;
import
'resident_runner.dart'
;
...
...
packages/flutter_tools/lib/src/run_cold.dart
View file @
c6ced845
...
...
@@ -8,7 +8,6 @@ import 'dart:async';
import
'package:meta/meta.dart'
;
import
'base/common.dart'
;
import
'base/file_system.dart'
;
import
'base/logger.dart'
;
import
'build_info.dart'
;
...
...
packages/flutter_tools/lib/src/run_hot.dart
View file @
c6ced845
...
...
@@ -11,7 +11,6 @@ import 'package:package_config/package_config.dart';
import
'package:pool/pool.dart'
;
import
'package:vm_service/vm_service.dart'
as
vm_service
;
import
'base/common.dart'
;
import
'base/context.dart'
;
import
'base/file_system.dart'
;
import
'base/logger.dart'
;
...
...
packages/flutter_tools/lib/src/test/flutter_tester_device.dart
View file @
c6ced845
...
...
@@ -12,7 +12,6 @@ import 'package:meta/meta.dart';
import
'package:process/process.dart'
;
import
'package:stream_channel/stream_channel.dart'
;
import
'../base/common.dart'
;
import
'../base/file_system.dart'
;
import
'../base/io.dart'
;
import
'../base/logger.dart'
;
...
...
packages/flutter_tools/lib/src/test/flutter_web_goldens.dart
View file @
c6ced845
...
...
@@ -10,7 +10,6 @@ import 'dart:typed_data';
import
'package:meta/meta.dart'
;
import
'package:process/process.dart'
;
import
'../base/common.dart'
;
import
'../base/file_system.dart'
;
import
'../base/io.dart'
;
import
'../base/logger.dart'
;
...
...
packages/flutter_tools/lib/src/test/integration_test_device.dart
View file @
c6ced845
...
...
@@ -8,7 +8,6 @@ import 'package:stream_channel/stream_channel.dart';
import
'package:vm_service/vm_service.dart'
as
vm_service
;
import
'../application_package.dart'
;
import
'../base/common.dart'
;
import
'../build_info.dart'
;
import
'../device.dart'
;
import
'../globals.dart'
as
globals
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/analyze_continuously_test.dart
View file @
c6ced845
...
...
@@ -9,7 +9,6 @@ import 'dart:async';
import
'package:fake_async/fake_async.dart'
;
import
'package:file/memory.dart'
;
import
'package:flutter_tools/src/artifacts.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/base/file_system.dart'
;
import
'package:flutter_tools/src/base/io.dart'
;
import
'package:flutter_tools/src/base/logger.dart'
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/daemon_test.dart
View file @
c6ced845
...
...
@@ -13,7 +13,6 @@ import 'package:file/src/interface/file.dart';
import
'package:flutter_tools/src/android/android_device.dart'
;
import
'package:flutter_tools/src/android/android_workflow.dart'
;
import
'package:flutter_tools/src/application_package.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/base/logger.dart'
;
import
'package:flutter_tools/src/base/utils.dart'
;
import
'package:flutter_tools/src/build_info.dart'
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/doctor_test.dart
View file @
c6ced845
...
...
@@ -17,7 +17,6 @@ import 'package:fake_async/fake_async.dart';
import
'package:file/memory.dart'
;
import
'package:flutter_tools/src/android/android_studio_validator.dart'
;
import
'package:flutter_tools/src/android/android_workflow.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/base/file_system.dart'
;
import
'package:flutter_tools/src/base/logger.dart'
;
import
'package:flutter_tools/src/base/platform.dart'
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/proxied_devices_test.dart
View file @
c6ced845
...
...
@@ -9,7 +9,6 @@ import 'dart:async';
import
'package:file/memory.dart'
;
import
'package:flutter_tools/src/android/android_device.dart'
;
import
'package:flutter_tools/src/application_package.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/base/file_system.dart'
;
import
'package:flutter_tools/src/base/logger.dart'
;
import
'package:flutter_tools/src/build_info.dart'
;
...
...
packages/flutter_tools/test/general.shard/base/async_guard_test.dart
View file @
c6ced845
...
...
@@ -6,7 +6,6 @@ import 'dart:async';
import
'package:fake_async/fake_async.dart'
;
import
'package:flutter_tools/src/base/async_guard.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'../../src/common.dart'
;
...
...
packages/flutter_tools/test/general.shard/compile_expression_test.dart
View file @
c6ced845
...
...
@@ -6,7 +6,6 @@ import 'dart:async';
import
'package:file/memory.dart'
;
import
'package:flutter_tools/src/artifacts.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/base/io.dart'
;
import
'package:flutter_tools/src/base/logger.dart'
;
import
'package:flutter_tools/src/base/platform.dart'
;
...
...
packages/flutter_tools/test/general.shard/daemon_test.dart
View file @
c6ced845
...
...
@@ -5,7 +5,6 @@
import
'dart:async'
;
import
'dart:typed_data'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/base/io.dart'
;
import
'package:flutter_tools/src/base/logger.dart'
;
import
'package:flutter_tools/src/convert.dart'
;
...
...
packages/flutter_tools/test/general.shard/ios/devices_test.dart
View file @
c6ced845
...
...
@@ -8,7 +8,6 @@ import 'dart:io' as io;
import
'package:file/file.dart'
;
import
'package:file/memory.dart'
;
import
'package:flutter_tools/src/artifacts.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/base/file_system.dart'
;
import
'package:flutter_tools/src/base/io.dart'
;
import
'package:flutter_tools/src/base/logger.dart'
;
...
...
packages/flutter_tools/test/general.shard/proxied_devices/proxied_devices_test.dart
View file @
c6ced845
...
...
@@ -6,7 +6,6 @@ import 'dart:async';
import
'dart:io'
;
import
'dart:typed_data'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/base/logger.dart'
;
import
'package:flutter_tools/src/daemon.dart'
;
import
'package:flutter_tools/src/proxied_devices/devices.dart'
;
...
...
packages/flutter_tools/test/general.shard/resident_web_runner_cold_test.dart
View file @
c6ced845
...
...
@@ -8,7 +8,6 @@ import 'dart:async';
import
'package:file/memory.dart'
;
import
'package:flutter_tools/src/application_package.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/base/file_system.dart'
;
import
'package:flutter_tools/src/base/logger.dart'
;
import
'package:flutter_tools/src/base/time.dart'
;
...
...
packages/flutter_tools/test/general.shard/resident_web_runner_test.dart
View file @
c6ced845
...
...
@@ -12,7 +12,6 @@ import 'package:dwds/dwds.dart';
import
'package:file/memory.dart'
;
import
'package:flutter_tools/src/application_package.dart'
;
import
'package:flutter_tools/src/asset.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/base/dds.dart'
;
import
'package:flutter_tools/src/base/file_system.dart'
;
import
'package:flutter_tools/src/base/logger.dart'
;
...
...
packages/flutter_tools/test/general.shard/runner/runner_test.dart
View file @
c6ced845
...
...
@@ -9,7 +9,6 @@ import 'dart:async';
import
'package:file/memory.dart'
;
import
'package:flutter_tools/runner.dart'
as
runner
;
import
'package:flutter_tools/src/artifacts.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/base/file_system.dart'
;
import
'package:flutter_tools/src/base/io.dart'
as
io
;
import
'package:flutter_tools/src/base/net.dart'
;
...
...
packages/flutter_tools/test/general.shard/vmservice_test.dart
View file @
c6ced845
...
...
@@ -7,7 +7,6 @@
import
'dart:async'
;
import
'package:fake_async/fake_async.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/base/io.dart'
as
io
;
import
'package:flutter_tools/src/base/logger.dart'
;
import
'package:flutter_tools/src/convert.dart'
;
...
...
packages/flutter_tools/test/integration.shard/hot_reload_test.dart
View file @
c6ced845
...
...
@@ -7,7 +7,6 @@
import
'dart:async'
;
import
'package:file/file.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:vm_service/vm_service.dart'
;
import
'../src/common.dart'
;
...
...
packages/flutter_tools/test/integration.shard/test_driver.dart
View file @
c6ced845
...
...
@@ -7,7 +7,6 @@ import 'dart:convert';
import
'dart:io'
as
io
;
// flutter_ignore: dart_io_import
import
'package:file/file.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/base/file_system.dart'
;
import
'package:flutter_tools/src/base/io.dart'
;
import
'package:flutter_tools/src/base/utils.dart'
;
...
...
packages/flutter_tools/test/src/fake_vm_services.dart
View file @
c6ced845
...
...
@@ -4,7 +4,6 @@
import
'dart:async'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/convert.dart'
;
import
'package:flutter_tools/src/vmservice.dart'
;
import
'package:test_api/test_api.dart'
hide
test
;
// ignore: deprecated_member_use
...
...
packages/flutter_tools/tool/daemon_client.dart
View file @
c6ced845
...
...
@@ -2,11 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:convert'
;
import
'dart:io'
;
import
'package:flutter_tools/src/base/common.dart'
;
late
Process
daemon
;
// To use, start from the console and enter:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment