flutter/dev/integration_tests
Loïc Sharma 194fefaa53
[iOS] Migrate @UIApplicationMain attribute to @main (#146707)
This migrates Flutter to use the `@main` attribute introduced in Swift 5.3. The `@UIApplicationMain` attribute is deprecated and will be removed in Swift 6. See: https://github.com/apple/swift-evolution/blob/main/proposals/0383-deprecate-uiapplicationmain-and-nsapplicationmain.md

This change is split into two commits:

1. ad18797428 - This updates the iOS app template and adds a migration to replace `@UIApplicationMain` uses with `@main`. 
2. 8ecbb2f29f - I ran `flutter run` on each Flutter iOS app in this repository to verify the app migrates and launches successfully.

Part of https://github.com/flutter/flutter/issues/143044
2024-04-16 22:13:03 +00:00
..
abstract_method_smoke_test Reland "Bump to AGP 8.1/Gradle 8.3 (almost) everywhere" (#146307) 2024-04-05 19:09:20 +00:00
android_custom_host_app Update android templates to use target sdk 34 (#144641) 2024-03-06 19:15:07 +00:00
android_embedding_v2_smoke_test Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
android_host_app/.gradle Reland "Branch out android platform view perf testing #60238" 2nd time (#61748) 2020-07-22 18:36:11 -07:00
android_host_app_v2_embedding Update android templates to use target sdk 34 (#144641) 2024-03-06 19:15:07 +00:00
android_module_host_with_custom_build_v2_embedding/app/src/main/java/io/flutter/addtoapp Fix package declarations for add-to-app integration tests (#77648) 2021-03-30 14:19:02 -07:00
android_semantics_testing Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
android_verified_input Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
android_views Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
channels Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
deferred_components_test Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
external_textures Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
flavors Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
flutter_gallery Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
gradle_deprecated_settings Roll pub packages (#146704) 2024-04-12 22:34:37 +00:00
hybrid_android_views Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
ios_add2app_life_cycle Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
ios_app_with_extensions [iOS] Migrate @UIApplicationMain attribute to @main (#146707) 2024-04-16 22:13:03 +00:00
ios_host_app Eliminate more window singleton usages (#145560) 2024-03-21 20:59:25 +00:00
ios_host_app_swift [iOS] Migrate @UIApplicationMain attribute to @main (#146707) 2024-04-16 22:13:03 +00:00
ios_platform_view_tests Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
module_host_with_custom_build/.gradle Reland "Branch out android platform view perf testing #60238" 2nd time (#61748) 2020-07-22 18:36:11 -07:00
module_host_with_custom_build_v2_embedding Update android templates to use target sdk 34 (#144641) 2024-03-06 19:15:07 +00:00
new_gallery Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
non_nullable [iOS] Migrate @UIApplicationMain attribute to @main (#146707) 2024-04-16 22:13:03 +00:00
platform_interaction Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
release_smoke_test Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
spell_check Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
ui Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
web Update material_color_utilities package version to latest 0.11.1 (#145959) 2024-04-03 02:16:13 +00:00
web_compile_tests Support flutter run --wasm and flutter drive --wasm. (#146231) 2024-04-12 19:27:26 +00:00
web_e2e_tests Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
wide_gamut_test Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
windows_startup_test Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
README.md Added a more generous timeout period for the keyboard animation. (#62628) 2020-08-04 08:14:17 -07:00

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