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
3e432084
Unverified
Commit
3e432084
authored
Apr 06, 2021
by
Sam Rawlins
Committed by
GitHub
Apr 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove "unnecessary" imports in test/commands.shard. (#78665)
parent
8c0aef9b
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
1 addition
and
35 deletions
+1
-35
attach_test.dart
...utter_tools/test/commands.shard/hermetic/attach_test.dart
+0
-2
build_fuchsia_test.dart
...ools/test/commands.shard/hermetic/build_fuchsia_test.dart
+0
-2
build_ipa_test.dart
...er_tools/test/commands.shard/hermetic/build_ipa_test.dart
+0
-2
build_linux_test.dart
..._tools/test/commands.shard/hermetic/build_linux_test.dart
+0
-2
build_macos_test.dart
..._tools/test/commands.shard/hermetic/build_macos_test.dart
+0
-2
build_web_test.dart
...er_tools/test/commands.shard/hermetic/build_web_test.dart
+0
-1
clean_test.dart
...lutter_tools/test/commands.shard/hermetic/clean_test.dart
+0
-2
config_test.dart
...utter_tools/test/commands.shard/hermetic/config_test.dart
+0
-1
daemon_test.dart
...utter_tools/test/commands.shard/hermetic/daemon_test.dart
+0
-1
devices_test.dart
...tter_tools/test/commands.shard/hermetic/devices_test.dart
+0
-1
doctor_test.dart
...utter_tools/test/commands.shard/hermetic/doctor_test.dart
+0
-2
precache_test.dart
...ter_tools/test/commands.shard/hermetic/precache_test.dart
+0
-1
run_test.dart
.../flutter_tools/test/commands.shard/hermetic/run_test.dart
+0
-2
shell_completion_test.dart
...s/test/commands.shard/hermetic/shell_completion_test.dart
+0
-2
build_aar_test.dart
...r_tools/test/commands.shard/permeable/build_aar_test.dart
+0
-1
build_apk_test.dart
...r_tools/test/commands.shard/permeable/build_apk_test.dart
+1
-2
build_appbundle_test.dart
...s/test/commands.shard/permeable/build_appbundle_test.dart
+0
-2
build_bundle_test.dart
...ools/test/commands.shard/permeable/build_bundle_test.dart
+0
-2
create_test.dart
...tter_tools/test/commands.shard/permeable/create_test.dart
+0
-1
devices_test.dart
...ter_tools/test/commands.shard/permeable/devices_test.dart
+0
-1
packages_test.dart
...er_tools/test/commands.shard/permeable/packages_test.dart
+0
-2
upgrade_test.dart
...ter_tools/test/commands.shard/permeable/upgrade_test.dart
+0
-1
No files found.
packages/flutter_tools/test/commands.shard/hermetic/attach_test.dart
View file @
3e432084
...
...
@@ -11,7 +11,6 @@ import 'package:file/memory.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/io.dart'
;
import
'package:flutter_tools/src/base/logger.dart'
;
import
'package:flutter_tools/src/base/terminal.dart'
;
import
'package:flutter_tools/src/cache.dart'
;
...
...
@@ -26,7 +25,6 @@ import 'package:flutter_tools/src/run_hot.dart';
import
'package:flutter_tools/src/vmservice.dart'
;
import
'package:meta/meta.dart'
;
import
'package:mockito/mockito.dart'
;
import
'package:process/process.dart'
;
import
'package:vm_service/vm_service.dart'
as
vm_service
;
import
'../../src/common.dart'
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/build_fuchsia_test.dart
View file @
3e432084
...
...
@@ -17,13 +17,11 @@ import 'package:flutter_tools/src/fuchsia/fuchsia_pm.dart';
import
'package:flutter_tools/src/fuchsia/fuchsia_sdk.dart'
;
import
'package:flutter_tools/src/project.dart'
;
import
'package:meta/meta.dart'
;
import
'package:process/process.dart'
;
import
'package:test/fake.dart'
;
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
import
'../../src/fakes.dart'
;
import
'../../src/testbed.dart'
;
// Defined globally for fakes to use.
FileSystem
fileSystem
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/build_ipa_test.dart
View file @
3e432084
...
...
@@ -12,11 +12,9 @@ import 'package:flutter_tools/src/cache.dart';
import
'package:flutter_tools/src/commands/build.dart'
;
import
'package:flutter_tools/src/ios/xcodeproj.dart'
;
import
'package:flutter_tools/src/reporting/reporting.dart'
;
import
'package:process/process.dart'
;
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
import
'../../src/testbed.dart'
;
class
FakeXcodeProjectInterpreterWithBuildSettings
extends
FakeXcodeProjectInterpreter
{
@override
...
...
packages/flutter_tools/test/commands.shard/hermetic/build_linux_test.dart
View file @
3e432084
...
...
@@ -18,13 +18,11 @@ import 'package:flutter_tools/src/commands/build_linux.dart';
import
'package:flutter_tools/src/features.dart'
;
import
'package:flutter_tools/src/project.dart'
;
import
'package:flutter_tools/src/reporting/reporting.dart'
;
import
'package:process/process.dart'
;
import
'package:test/fake.dart'
;
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
import
'../../src/fakes.dart'
;
import
'../../src/testbed.dart'
;
const
String
_kTestFlutterRoot
=
'/flutter'
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/build_macos_test.dart
View file @
3e432084
...
...
@@ -20,12 +20,10 @@ import 'package:flutter_tools/src/features.dart';
import
'package:flutter_tools/src/ios/xcodeproj.dart'
;
import
'package:flutter_tools/src/project.dart'
;
import
'package:flutter_tools/src/reporting/reporting.dart'
;
import
'package:process/process.dart'
;
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
import
'../../src/fakes.dart'
;
import
'../../src/testbed.dart'
;
class
FakeXcodeProjectInterpreterWithProfile
extends
FakeXcodeProjectInterpreter
{
@override
...
...
packages/flutter_tools/test/commands.shard/hermetic/build_web_test.dart
View file @
3e432084
...
...
@@ -22,7 +22,6 @@ import 'package:flutter_tools/src/web/compile.dart';
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
import
'../../src/fakes.dart'
;
import
'../../src/testbed.dart'
;
void
main
(
)
{
FileSystem
fileSystem
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/clean_test.dart
View file @
3e432084
...
...
@@ -5,7 +5,6 @@
// @dart = 2.8
import
'package:file/memory.dart'
;
import
'package:flutter_tools/src/base/context.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'
;
...
...
@@ -14,7 +13,6 @@ import 'package:flutter_tools/src/ios/xcodeproj.dart';
import
'package:flutter_tools/src/macos/xcode.dart'
;
import
'package:flutter_tools/src/project.dart'
;
import
'package:mockito/mockito.dart'
;
import
'package:process/process.dart'
;
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/config_test.dart
View file @
3e432084
...
...
@@ -9,7 +9,6 @@ import 'dart:convert';
import
'package:args/command_runner.dart'
;
import
'package:flutter_tools/src/android/android_sdk.dart'
;
import
'package:flutter_tools/src/android/android_studio.dart'
;
import
'package:flutter_tools/src/base/context.dart'
;
import
'package:flutter_tools/src/base/file_system.dart'
;
import
'package:flutter_tools/src/build_info.dart'
;
import
'package:flutter_tools/src/cache.dart'
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/daemon_test.dart
View file @
3e432084
...
...
@@ -23,7 +23,6 @@ import '../../src/common.dart';
import
'../../src/context.dart'
;
import
'../../src/fakes.dart'
;
import
'../../src/mocks.dart'
;
import
'../../src/testbed.dart'
;
void
main
(
)
{
Daemon
daemon
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/devices_test.dart
View file @
3e432084
...
...
@@ -12,7 +12,6 @@ import 'package:flutter_tools/src/cache.dart';
import
'package:flutter_tools/src/commands/devices.dart'
;
import
'package:flutter_tools/src/device.dart'
;
import
'package:flutter_tools/src/globals.dart'
as
globals
;
import
'package:process/process.dart'
;
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/doctor_test.dart
View file @
3e432084
...
...
@@ -30,13 +30,11 @@ import 'package:flutter_tools/src/vscode/vscode.dart';
import
'package:flutter_tools/src/vscode/vscode_validator.dart'
;
import
'package:flutter_tools/src/web/workflow.dart'
;
import
'package:mockito/mockito.dart'
;
import
'package:process/process.dart'
;
import
'package:fake_async/fake_async.dart'
;
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
import
'../../src/fakes.dart'
;
import
'../../src/testbed.dart'
;
FakePlatform
_kNoColorOutputPlatform
(
)
=>
FakePlatform
(
localeName:
'en_US.UTF-8'
,
...
...
packages/flutter_tools/test/commands.shard/hermetic/precache_test.dart
View file @
3e432084
...
...
@@ -8,7 +8,6 @@ import 'package:flutter_tools/src/base/logger.dart';
import
'package:flutter_tools/src/base/platform.dart'
;
import
'package:flutter_tools/src/cache.dart'
;
import
'package:flutter_tools/src/commands/precache.dart'
;
import
'package:flutter_tools/src/runner/flutter_command.dart'
;
import
'package:mockito/mockito.dart'
;
import
'../../src/common.dart'
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/run_test.dart
View file @
3e432084
...
...
@@ -11,7 +11,6 @@ import 'package:file/memory.dart';
import
'package:flutter_tools/src/application_package.dart'
;
import
'package:flutter_tools/src/artifacts.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/base/context.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'
;
...
...
@@ -33,7 +32,6 @@ import 'package:vm_service/vm_service.dart';
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
import
'../../src/fakes.dart'
;
import
'../../src/testbed.dart'
;
void
main
(
)
{
group
(
'run'
,
()
{
...
...
packages/flutter_tools/test/commands.shard/hermetic/shell_completion_test.dart
View file @
3e432084
...
...
@@ -6,12 +6,10 @@
import
'package:file/memory.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/base/context.dart'
;
import
'package:flutter_tools/src/base/file_system.dart'
;
import
'package:flutter_tools/src/base/io.dart'
;
import
'package:flutter_tools/src/cache.dart'
;
import
'package:flutter_tools/src/commands/shell_completion.dart'
;
import
'package:process/process.dart'
;
import
'package:flutter_tools/src/globals_null_migrated.dart'
as
globals
;
import
'../../src/common.dart'
;
...
...
packages/flutter_tools/test/commands.shard/permeable/build_aar_test.dart
View file @
3e432084
...
...
@@ -15,7 +15,6 @@ import 'package:flutter_tools/src/project.dart';
import
'package:flutter_tools/src/reporting/reporting.dart'
;
import
'package:flutter_tools/src/globals_null_migrated.dart'
as
globals
;
import
'package:meta/meta.dart'
;
import
'package:process/process.dart'
;
import
'package:test/fake.dart'
;
import
'../../src/android_common.dart'
;
...
...
packages/flutter_tools/test/commands.shard/permeable/build_apk_test.dart
View file @
3e432084
...
...
@@ -4,12 +4,11 @@
// @dart = 2.8
import
'dart:io'
;
import
'dart:io'
hide
Directory
;
import
'package:args/command_runner.dart'
;
import
'package:flutter_tools/src/android/android_builder.dart'
;
import
'package:flutter_tools/src/android/android_sdk.dart'
;
import
'package:flutter_tools/src/base/context.dart'
;
import
'package:flutter_tools/src/base/file_system.dart'
;
import
'package:flutter_tools/src/cache.dart'
;
...
...
packages/flutter_tools/test/commands.shard/permeable/build_appbundle_test.dart
View file @
3e432084
...
...
@@ -7,14 +7,12 @@
import
'package:args/command_runner.dart'
;
import
'package:flutter_tools/src/android/android_builder.dart'
;
import
'package:flutter_tools/src/android/android_sdk.dart'
;
import
'package:flutter_tools/src/base/context.dart'
;
import
'package:flutter_tools/src/base/file_system.dart'
;
import
'package:flutter_tools/src/cache.dart'
;
import
'package:flutter_tools/src/commands/build_appbundle.dart'
;
import
'package:flutter_tools/src/globals_null_migrated.dart'
as
globals
;
import
'package:flutter_tools/src/project.dart'
;
import
'package:flutter_tools/src/reporting/reporting.dart'
;
import
'package:process/process.dart'
;
import
'package:test/fake.dart'
;
import
'../../src/android_common.dart'
;
...
...
packages/flutter_tools/test/commands.shard/permeable/build_bundle_test.dart
View file @
3e432084
...
...
@@ -16,13 +16,11 @@ import 'package:flutter_tools/src/commands/build_bundle.dart';
import
'package:flutter_tools/src/features.dart'
;
import
'package:flutter_tools/src/reporting/reporting.dart'
;
import
'package:mockito/mockito.dart'
;
import
'package:process/process.dart'
;
import
'package:flutter_tools/src/globals_null_migrated.dart'
as
globals
;
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
import
'../../src/fakes.dart'
;
import
'../../src/testbed.dart'
;
void
main
(
)
{
Cache
.
disableLocking
();
...
...
packages/flutter_tools/test/commands.shard/permeable/create_test.dart
View file @
3e432084
...
...
@@ -32,7 +32,6 @@ import '../../src/context.dart';
import
'../../src/fake_http_client.dart'
;
import
'../../src/fakes.dart'
;
import
'../../src/pubspec_schema.dart'
;
import
'../../src/testbed.dart'
;
const
String
_kNoPlatformsMessage
=
'You
\'
ve created a plugin project that doesn
\'
t yet support any platforms.
\n
'
;
const
String
frameworkRevision
=
'12345678'
;
...
...
packages/flutter_tools/test/commands.shard/permeable/devices_test.dart
View file @
3e432084
...
...
@@ -21,7 +21,6 @@ import 'package:mockito/mockito.dart';
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
import
'../../src/fakes.dart'
;
import
'../../src/testbed.dart'
;
void
main
(
)
{
setUpAll
(()
{
...
...
packages/flutter_tools/test/commands.shard/permeable/packages_test.dart
View file @
3e432084
...
...
@@ -18,14 +18,12 @@ import 'package:flutter_tools/src/cache.dart';
import
'package:flutter_tools/src/commands/packages.dart'
;
import
'package:flutter_tools/src/dart/pub.dart'
;
import
'package:flutter_tools/src/reporting/reporting.dart'
;
import
'package:process/process.dart'
;
import
'package:flutter_tools/src/globals.dart'
as
globals
;
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
import
'../../src/fake_process_manager.dart'
;
import
'../../src/fakes.dart'
;
import
'../../src/testbed.dart'
;
void
main
(
)
{
Cache
.
disableLocking
();
...
...
packages/flutter_tools/test/commands.shard/permeable/upgrade_test.dart
View file @
3e432084
...
...
@@ -14,7 +14,6 @@ import 'package:flutter_tools/src/globals_null_migrated.dart' as globals;
import
'package:flutter_tools/src/persistent_tool_state.dart'
;
import
'package:flutter_tools/src/runner/flutter_command.dart'
;
import
'package:flutter_tools/src/version.dart'
;
import
'package:process/process.dart'
;
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
...
...
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