flutter/dev/integration_tests
gmackall c12488a707
[Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836)
This is an attempt to reland https://github.com/flutter/flutter/pull/124085.

Differences from this attempt and the last: 
1. Adds a check for null android studio versions and a test for this case.
2. Wraps the migrate code in a try-catch [per the suggestion here](https://github.com/flutter/flutter/pull/125728/files#r1181747899).

Old PR description:
This PR adds an android project migrator that checks the version of android studio and the version of gradle for conflicts, and upgrades to 7.4 if a conflict is detected. For more detail about the particular conflict, see https://github.com/flutter/flutter/issues/122376.

The PR also upgrades older gradle versions being used in integration testing to 7.4.

Fixes/related to: https://github.com/flutter/flutter/issues/122376 and https://github.com/flutter/flutter/issues/123636
2023-05-03 21:00:06 +00:00
..
abstract_method_smoke_test i125138 abstract method smoke agp update (#125139) 2023-04-20 15:16:18 +00:00
android_custom_host_app [Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836) 2023-05-03 21:00:06 +00:00
android_embedding_v2_smoke_test [Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836) 2023-05-03 21:00:06 +00:00
android_host_app/.gradle
android_host_app_v2_embedding [Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836) 2023-05-03 21:00:06 +00:00
android_module_host_with_custom_build_v2_embedding/app/src/main/java/io/flutter/addtoapp
android_semantics_testing [Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836) 2023-05-03 21:00:06 +00:00
android_views [Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836) 2023-05-03 21:00:06 +00:00
channels Migrate Xcode projects last version checks to Xcode 14.3 (#125827) 2023-05-02 00:06:33 +00:00
deferred_components_test Roll pub packages (#125698) 2023-04-28 19:30:06 +00:00
external_ui [Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836) 2023-05-03 21:00:06 +00:00
flavors Migrate Xcode projects last version checks to Xcode 14.3 (#125827) 2023-05-02 00:06:33 +00:00
flutter_gallery Migrate Xcode projects last version checks to Xcode 14.3 (#125827) 2023-05-02 00:06:33 +00:00
gradle_deprecated_settings [Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836) 2023-05-03 21:00:06 +00:00
hybrid_android_views [Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836) 2023-05-03 21:00:06 +00:00
ios_add2app_life_cycle Roll pub packages (#125225) 2023-04-20 18:28:10 +00:00
ios_app_with_extensions Migrate Xcode projects last version checks to Xcode 14.3 (#125827) 2023-05-02 00:06:33 +00:00
ios_host_app Remove "note that" in our documentation (as per style guide) (#120842) 2023-02-17 22:27:33 +00:00
ios_host_app_swift Set template and migrate apps to iOS 11 minimum (#101963) 2022-04-15 11:34:08 -07:00
ios_platform_view_tests Migrate Xcode projects last version checks to Xcode 14.3 (#125827) 2023-05-02 00:06:33 +00:00
module_host_with_custom_build/.gradle
module_host_with_custom_build_v2_embedding [Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836) 2023-05-03 21:00:06 +00:00
non_nullable [Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836) 2023-05-03 21:00:06 +00:00
platform_interaction [Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836) 2023-05-03 21:00:06 +00:00
release_smoke_test [Reland] Add migrator to upgrade gradle version when conflict with Android Studio bundled Java version is detected (#125836) 2023-05-03 21:00:06 +00:00
spell_check Migrate Xcode projects last version checks to Xcode 14.3 (#125827) 2023-05-02 00:06:33 +00:00
ui Migrate Xcode projects last version checks to Xcode 14.3 (#125827) 2023-05-02 00:06:33 +00:00
web Update MCU version (#124512) 2023-04-10 16:44:26 +00:00
web_compile_tests Update MCU version (#124512) 2023-04-10 16:44:26 +00:00
web_e2e_tests Roll pub packages (#125698) 2023-04-28 19:30:06 +00:00
wide_gamut_test Roll pub packages (#125447) 2023-04-28 17:31:45 +00:00
windows_startup_test Opt into CMake policy CMP0135 (#125502) 2023-04-28 17:49:54 -04:00
README.md

Automated Flutter integration test suites

Each suite consists of either a complete Flutter app and a flutter_driver specification that drives tests from the UI, or a native app that is meant to integrate with Flutter for testing.

Intended for use with devicelab tests.

If you want to run a driver test locally, to debug a problem with a test, you can use this command from the appropriate subdirectory:

flutter drive -t <test> --driver <driver>

For example:

flutter drive -t lib/keyboard_resize.dart --driver test_driver/keyboard_resize_test.dart