flutter/dev/integration_tests/deferred_components_test
Bartek Pacia 85888bccf2
Update gradle lockfiles template (#140115)
This PR updates almost* all Gradle buildscripts in the Flutter repo the `example` and `dev` (in particular, in `dev/integration_tests` and in `dev/benchmarks`) directories to apply Flutter's Gradle plugins using the declarative `plugins {}` block.

*almost, because:
- add-to-app (aka hybrid) apps are not migrated (related https://github.com/flutter/flutter/issues/138756)
- apps that purposefully use build files to ensure backward compatibility (e.g. [`gradle_deprecated_settings`](https://github.com/flutter/flutter/tree/3.16.0/dev/integration_tests/gradle_deprecated_settings))
2024-02-04 13:10:49 +00:00
..
android Update gradle lockfiles template (#140115) 2024-02-04 13:10:49 +00:00
lib Sync analysis_options.yaml & cleanups (#117327) 2022-12-20 14:15:39 -08:00
test_driver
.gitignore Download script for deferred components assets (#88905) 2021-08-26 15:18:37 -07:00
deferred_components_loading_units.yaml
download_assets.sh Download script for deferred components assets (#88905) 2021-08-26 15:18:37 -07:00
pubspec.yaml Unpin test (#141427) 2024-02-01 18:53:23 +00:00
README.md Download script for deferred components assets (#88905) 2021-08-26 15:18:37 -07:00
run_release_test.sh Increase deferred components test timeout (#96423) 2022-01-12 20:40:14 -08:00

Deferred components integration test app

Setup

This integration test app requires manually downloading additional assets to build. Run

./download_assets.sh

before running any of the tests.

Tests

This app contains two sets of tests:

  • flutter drive tests that run a debug mode app to validate framework side logic
  • run_release_test.sh <bundletool.jar path> which builds and installs a release version of this app and validates the loading units are loaded correctly. A path to bundletool.jar must be provided