flutter/dev/integration_tests
Chris Bracken 9f8fe3f04c
[Windows] Fix signed/unsigned int comparison (#142341)
Previously, we were comparing the signed int `target_length` (returned by WideCharToMultiByte) to a size_t string length, resulting in a signed/unsigned comparison warning as follows:

```
windows\runner\utils.cpp(54,43): warning C4018:  '>': signed/unsigned mismatch
```

WideCharToMultiByte returns:
* 0 on error
* the number of bytes written to the buffer pointed to by its fifth parameter, lpMultiByteStr, on success.

As a result it's safe to store the return value in an unsigned int, which eliminates the warning.

No changes to tests since this is dependent on end-user project settings/modifications and does not trigger a warning with default project settings.

Fixes: https://github.com/flutter/flutter/issues/134227
2024-02-07 00:09:57 +00:00
..
abstract_method_smoke_test Reverts "Update gradle lockfiles template" (#142889) 2024-02-04 14:28:18 +00:00
android_custom_host_app Update Android minSdkVersion to 21 (#142267) 2024-01-29 09:49:09 -08:00
android_embedding_v2_smoke_test Reverts "Update gradle lockfiles template" (#142889) 2024-02-04 14:28:18 +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 minSdkVersion to 21 (#142267) 2024-01-29 09:49:09 -08: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 Reverts "Update gradle lockfiles template" (#142889) 2024-02-04 14:28:18 +00:00
android_verified_input Reverts "Update gradle lockfiles template" (#142889) 2024-02-04 14:28:18 +00:00
android_views Reverts "Update gradle lockfiles template" (#142889) 2024-02-04 14:28:18 +00:00
channels Reverts "Update gradle lockfiles template" (#142889) 2024-02-04 14:28:18 +00:00
deferred_components_test Reverts "Update gradle lockfiles template" (#142889) 2024-02-04 14:28:18 +00:00
external_textures Reverts "Update gradle lockfiles template" (#142889) 2024-02-04 14:28:18 +00:00
flavors Reverts "Update gradle lockfiles template" (#142889) 2024-02-04 14:28:18 +00:00
flutter_gallery [Windows] Fix signed/unsigned int comparison (#142341) 2024-02-07 00:09:57 +00:00
gradle_deprecated_settings Reverts "Update gradle lockfiles template" (#142889) 2024-02-04 14:28:18 +00:00
hybrid_android_views Reverts "Update gradle lockfiles template" (#142889) 2024-02-04 14:28:18 +00:00
ios_add2app_life_cycle Unpin test (#141427) 2024-02-01 18:53:23 +00:00
ios_app_with_extensions Unpin test (#141427) 2024-02-01 18:53:23 +00:00
ios_host_app Migrate Xcode projects last version checks to Xcode 15.1 (#140256) 2024-01-03 23:05:46 +00:00
ios_host_app_swift Migrate Xcode projects last version checks to Xcode 15.1 (#140256) 2024-01-03 23:05:46 +00:00
ios_platform_view_tests Unpin test (#141427) 2024-02-01 18:53:23 +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 minSdkVersion to 21 (#142267) 2024-01-29 09:49:09 -08:00
non_nullable Reverts "Update gradle lockfiles template" (#142889) 2024-02-04 14:28:18 +00:00
platform_interaction Reverts "Update gradle lockfiles template" (#142889) 2024-02-04 14:28:18 +00:00
release_smoke_test Reverts "Update gradle lockfiles template" (#142889) 2024-02-04 14:28:18 +00:00
spell_check Reverts "Update gradle lockfiles template" (#142889) 2024-02-04 14:28:18 +00:00
ui [Windows] Fix signed/unsigned int comparison (#142341) 2024-02-07 00:09:57 +00:00
web Move package:web dependency to dev dependency (#139696) 2023-12-15 08:53:27 -08:00
web_compile_tests Move package:web dependency to dev dependency (#139696) 2023-12-15 08:53:27 -08:00
web_e2e_tests Wasm/JS Dual Compile with the flutter tool (#141396) 2024-02-02 01:52:28 +00:00
wide_gamut_test Unpin test (#141427) 2024-02-01 18:53:23 +00:00
windows_startup_test [Windows] Fix signed/unsigned int comparison (#142341) 2024-02-07 00:09:57 +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