flutter/dev/integration_tests/deferred_components_test
Gray Mackall ef9cd32f5a
Update template/test compileSdk, targetSdk, ndk versions (#152487)
Updates `compileSdk`, `targetSdk`, and `ndk` versions (former 2 to latest, latter to the version of the ndk we are hosting on CIPD).

Summary of changes:
- Updates mentioned template values
- `compileSdk` 35 requires AGP 8.0+, so updated to 8.1 in many places.
- This also necessitated Gradle upgrades in most places
- This also necessitated moving the `package` xml attribute to the AGP `namespace` field in a couple places (test + template).
- Some tests use the output of `flutter create` but then use intentionally lower AGP versions. [I downgraded the `compileSdk` in these tests.](fee34fd61a)
- [Stopped lockfile generation](82324a2570) script from hitting the `hello_world` example because it uses `.kts` gradle files.
- One test needed [some Gradle options we had already added to templates](6aa187b4b6).
2024-08-20 21:33:12 +00:00
..
android Update template/test compileSdk, targetSdk, ndk versions (#152487) 2024-08-20 21:33:12 +00:00
lib Sync analysis_options.yaml & cleanups (#117327) 2022-12-20 14:15:39 -08:00
test_driver Deferred components integration test app (#88030) 2021-08-16 15:32:05 -07:00
.gitignore Download script for deferred components assets (#88905) 2021-08-26 15:18:37 -07:00
deferred_components_loading_units.yaml Deferred components integration test app (#88030) 2021-08-16 15:32:05 -07:00
download_assets.sh Download script for deferred components assets (#88905) 2021-08-26 15:18:37 -07:00
pubspec.yaml Roll pub packages (#153581) 2024-08-17 00:44:08 +00:00
README.md Download script for deferred components assets (#88905) 2021-08-26 15:18:37 -07:00
run_release_test.sh Reland: Update link branches to main (#146882) 2024-04-17 13:16:33 +00: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