Skip to content

Commit

Permalink
[various] Remove unused flutter_driver dependencies (#4347)
Browse files Browse the repository at this point in the history
`flutter_driver` has been mostly replaced by `integration_test`, but we still have a lot of remaining dependencies on the package. This removes the dependency from pubspec.yaml for all plugins that aren't actually `import`ing it.

It also removes an old video_player test that has been disabled for years that was never updated from flutter_driver to integration_test; we've since added a lot more testing to video_player, so in practice this is cruft that we can just remove.

Closes flutter/flutter#85224
  • Loading branch information
stuartmorgan authored Jun 29, 2023
1 parent 9ec04ac commit 0ef3938
Show file tree
Hide file tree
Showing 74 changed files with 0 additions and 198 deletions.
2 changes: 0 additions & 2 deletions packages/camera/camera/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ dependencies:
quiver: ^3.0.0

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
mockito: 5.4.1
Expand Down
2 changes: 0 additions & 2 deletions packages/camera/camera_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,5 @@ dependencies:

dev_dependencies:
async: ^2.5.0
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
2 changes: 0 additions & 2 deletions packages/camera/camera_avfoundation/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ dependencies:

dev_dependencies:
build_runner: ^2.1.10
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/camera/camera_avfoundation/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,5 @@ dependencies:

dev_dependencies:
async: ^2.5.0
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
2 changes: 0 additions & 2 deletions packages/camera/camera_web/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ dev_dependencies:
camera_web:
path: ../
cross_file: ^0.3.1
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/file_selector/file_selector_web/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ dependencies:
sdk: flutter

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/google_identity_services_web/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ dependencies:

dev_dependencies:
build_runner: ^2.1.10 # To extract README excerpts only.
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ dependencies:
dev_dependencies:
build_runner: ^2.1.10
espresso: ^0.2.0
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ dependencies:
dev_dependencies:
build_runner: ^2.1.10
espresso: ^0.2.0
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ dependencies:
path: ../shared/maps_example_dart/

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ dependencies:
path: ../shared/maps_example_dart/

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ dependencies:
path: ../shared/maps_example_dart/

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ dependencies:

dev_dependencies:
build_runner: ^2.1.1
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
google_maps: ^6.1.0
Expand Down
2 changes: 0 additions & 2 deletions packages/google_sign_in/google_sign_in/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ dependencies:

dev_dependencies:
espresso: ^0.2.0
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/google_sign_in/google_sign_in/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ dependencies:

dev_dependencies:
build_runner: ^2.1.10
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
http: ">=0.13.0 <2.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ dependencies:

dev_dependencies:
espresso: ^0.2.0
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/google_sign_in/google_sign_in_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ dependencies:
google_sign_in_platform_interface: ^2.2.0

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ dependencies:
http: ">=0.13.0 <2.0.0"

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/google_sign_in/google_sign_in_ios/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ dependencies:
google_sign_in_platform_interface: ^2.2.0

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ dependencies:

dev_dependencies:
build_runner: ^2.1.1
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
http: ">=0.13.0 <2.0.0"
Expand Down
2 changes: 0 additions & 2 deletions packages/image_picker/image_picker/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ dependencies:
dev_dependencies:
build_runner: ^2.1.10
espresso: ^0.2.0
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ dependencies:
image_picker_platform_interface: ^2.8.0

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/image_picker/image_picker_ios/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ dependencies:
video_player: ^2.1.4

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/in_app_purchase/in_app_purchase/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ dependencies:
shared_preferences: ^2.0.0

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/in_app_purchase/in_app_purchase/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ dependencies:
in_app_purchase_storekit: ^0.3.4

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ dependencies:

dev_dependencies:
build_runner: ^2.4.5
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ dependencies:
shared_preferences: ^2.0.0

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/local_auth/local_auth/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ dependencies:

dev_dependencies:
build_runner: ^2.1.10
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/local_auth/local_auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ dependencies:
local_auth_windows: ^1.0.0

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/local_auth/local_auth_android/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ dependencies:
local_auth_platform_interface: ^1.0.0

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/local_auth/local_auth_ios/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ dependencies:
local_auth_platform_interface: ^1.0.0

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/local_auth/local_auth_windows/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ dependencies:
path: ../

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/path_provider/path_provider/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ dependencies:

dev_dependencies:
build_runner: ^2.1.10
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/path_provider/path_provider/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ dependencies:
path_provider_windows: ^2.0.2

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ dependencies:
path_provider_platform_interface: ^2.0.0

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/path_provider/path_provider_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ dependencies:
path_provider_platform_interface: ^2.0.1

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ dependencies:
path_provider_platform_interface: ^2.0.0

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ dependencies:
path: ../

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ dependencies:
path: ../

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/pointer_interceptor/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ dependencies:
path: ../

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/quick_actions/quick_actions/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ dependencies:

dev_dependencies:
espresso: ^0.2.0
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ dependencies:

dev_dependencies:
espresso: ^0.2.0
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 0 additions & 2 deletions packages/quick_actions/quick_actions_ios/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ dependencies:
path: ../

dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ dependencies:

dev_dependencies:
build_runner: ^2.1.10
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
Expand Down
Loading

0 comments on commit 0ef3938

Please sign in to comment.