flutter/dev/integration_tests
Nate 2e748e8598
Implementing control flow collections (#146601)
This pull request aims for improved readability, based on issue #146600.

```dart
// before
Set<Color> _distinctVisibleColors() {
  final Set<Color> distinctVisibleColors = <Color>{};
  if (top.style != BorderStyle.none) {
    distinctVisibleColors.add(top.color);
  }
  if (right.style != BorderStyle.none) {
    distinctVisibleColors.add(right.color);
  }
  if (bottom.style != BorderStyle.none) {
    distinctVisibleColors.add(bottom.color);
  }
  if (left.style != BorderStyle.none) {
    distinctVisibleColors.add(left.color);
  }
  return distinctVisibleColors;
}

// after
Set<Color> _distinctVisibleColors() {
  return <Color>{
    if (top.style != BorderStyle.none) top.color,
    if (right.style != BorderStyle.none) right.color,
    if (bottom.style != BorderStyle.none) bottom.color,
    if (left.style != BorderStyle.none) left.color,
  };
}
```

Most of the repo should be covered in this PR (aside from `flutter_tools/`, since there was a lot going on in there).
2024-04-15 16:06:07 +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 Reland "Bump to AGP 8.1/Gradle 8.3 (almost) everywhere" (#146307) 2024-04-05 19:09:20 +00:00
android_host_app/.gradle
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 Implementing control flow collections (#146601) 2024-04-15 16:06:07 +00:00
android_verified_input [flutter_tools] Fix conductor for package args roll (#146646) 2024-04-12 21:38:03 +00:00
android_views Roll pub packages (#146704) 2024-04-12 22:34:37 +00:00
channels Reland "Bump to AGP 8.1/Gradle 8.3 (almost) everywhere" (#146307) 2024-04-05 19:09:20 +00:00
deferred_components_test [flutter_tools] Fix conductor for package args roll (#146646) 2024-04-12 21:38:03 +00:00
external_textures [flutter_tools] Fix conductor for package args roll (#146646) 2024-04-12 21:38:03 +00:00
flavors [flutter_tools] Fix conductor for package args roll (#146646) 2024-04-12 21:38:03 +00:00
flutter_gallery Implementing control flow collections (#146601) 2024-04-15 16:06:07 +00:00
gradle_deprecated_settings Roll pub packages (#146704) 2024-04-12 22:34:37 +00:00
hybrid_android_views Roll pub packages (#146704) 2024-04-12 22:34:37 +00:00
ios_add2app_life_cycle Update material_color_utilities package version to latest 0.11.1 (#145959) 2024-04-03 02:16:13 +00:00
ios_app_with_extensions Update material_color_utilities package version to latest 0.11.1 (#145959) 2024-04-03 02:16:13 +00:00
ios_host_app Eliminate more window singleton usages (#145560) 2024-03-21 20:59:25 +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 [flutter_tools] Fix conductor for package args roll (#146646) 2024-04-12 21:38:03 +00:00
module_host_with_custom_build/.gradle
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 Implementing control flow collections (#146601) 2024-04-15 16:06:07 +00:00
non_nullable Support flutter run --wasm and flutter drive --wasm. (#146231) 2024-04-12 19:27:26 +00:00
platform_interaction [flutter_tools] Fix conductor for package args roll (#146646) 2024-04-12 21:38:03 +00:00
release_smoke_test Reland "Bump to AGP 8.1/Gradle 8.3 (almost) everywhere" (#146307) 2024-04-05 19:09:20 +00:00
spell_check Reland "Bump to AGP 8.1/Gradle 8.3 (almost) everywhere" (#146307) 2024-04-05 19:09:20 +00:00
ui [flutter_tools] Fix conductor for package args roll (#146646) 2024-04-12 21:38:03 +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 [flutter_tools] Fix conductor for package args roll (#146646) 2024-04-12 21:38:03 +00:00
wide_gamut_test Update material_color_utilities package version to latest 0.11.1 (#145959) 2024-04-03 02:16:13 +00:00
windows_startup_test [flutter_tools] Fix conductor for package args roll (#146646) 2024-04-12 21:38:03 +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