flutter/dev/integration_tests
Daco Harkes 27ba2f2790
[native assets] Roll dependencies (#160672)
This PR rolls in a number of breaking changes from dart-lang/native:

* `BuildMode` is no longer part of the protocol, so Flutter no longer
passes it in.
* This means all code dealing with the name conflict between
`native_assets_cli.BuildMode` and `flutter_tools.BuildMode` has been
cleaned up.
  * Also, the logs no longer mention the build mode.
* The tests still exercise both modes, because linking only happens in
release mode.
* `OS` is no longer part of the main protocol, but of the "code"
"protocol extension".
* The code now aligns more with `OS?` being nullable in a bunch of
places, since it is nullable if there's no code assets.
* The OS-specific config is nested in an object per OS.
* `CCompilerConfig`s fields are non-nullable now.
* So instead of passing an object with nullable fields around, a null
instead of the object is returned in various places.
* `FileSystem` is now passed in to the native assets builder.

This PR contains no feature changes.

This PR will need to be followed up by restricting what environment
variables are passed in (similar to
https://github.com/dart-lang/native/pull/1764), I will do this in a
follow up PR.

Tests:

* All existing features should be covered by existing tests.
2025-01-02 19:26:02 +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 Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
android_verified_input Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
android_views Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
channels Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
deferred_components_test Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
external_textures Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
flavors Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
flutter_gallery Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
gradle_deprecated_settings Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
hybrid_android_views Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
ios_add2app_life_cycle Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
ios_app_with_extensions Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
ios_host_app Added missing code block language in docs (#147481) 2024-05-01 14:44:27 +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 Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
link_hook [native assets] Roll dependencies (#160672) 2025-01-02 19:26:02 +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 [Reland] Force automatic ndk download when building for Android (#160260) 2024-12-13 20:27:23 +00:00
native_driver_test Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
new_gallery Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
non_nullable Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
platform_interaction Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
pure_android_host_apps [Reland] Force automatic ndk download when building for Android (#160260) 2024-12-13 20:27:23 +00:00
release_smoke_test Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
spell_check Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
ui Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
web Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
web_compile_tests Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
web_e2e_tests Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
wide_gamut_test Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
windows_startup_test Manual pub bump (#160985) 2024-12-31 04:07:34 +00:00
README.md Added missing code block language in docs (#147481) 2024-05-01 14:44:27 +00: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