flutter/packages/flutter_tools/test/integration.shard/test_data
Srujan Gaddam d3c96c65e5
Wait until all scripts are loaded in the page before running main for the DDC library bundle format (#162707)
https://github.com/flutter/flutter/issues/162567

- Uses the `bootstrapScript` field in `loadConfig` to run a script after
all scripts have loaded.
- This script just calls a callback that is set up beforehand and calls
main.
- Modifies the callback that calls `dartDevEmbedder.runMain` to wait
until both DWDS called main and all scripts have loaded.
- Unskips hot reload tests now that the race condition should no longer
exist.

## Pre-launch Checklist

- [ ] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [ ] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [ ] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [ ] I signed the [CLA].
- [ ] I listed at least one issue that this PR fixes in the description
above.
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [ ] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [ ] All existing and new tests are passing.
2025-02-05 01:12:29 +00:00
..
background_project.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
basic_project.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
compile_error_project.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
deferred_components_config.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
deferred_components_project.dart Remove support for imperative apply of Flutter Gradle Plugin (#160947) 2025-01-07 21:51:59 +00:00
gen_l10n_project.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
hot_reload_const_project.dart Bump Dart SDK to 3.7 (#159812) 2024-12-05 21:39:53 +00:00
hot_reload_errors_common.dart Use recompile-restart instruction when hot restarting on the web (#162616) 2025-02-04 21:24:44 +00:00
hot_reload_project.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
hot_reload_test_common.dart Wait until all scripts are loaded in the page before running main for the DDC library bundle format (#162707) 2025-02-05 01:12:29 +00:00
hot_reload_with_asset_test_common.dart Wait until all scripts are loaded in the page before running main for the DDC library bundle format (#162707) 2025-02-05 01:12:29 +00:00
hot_reload_with_asset.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
integration_tests_project.dart Bump Dart SDK to 3.7 (#159812) 2024-12-05 21:39:53 +00:00
listen_for_sigterm.dart [flutter_tools] exec rather than spawn subprocess from bin/internal/shared.sh (#99871) 2022-03-14 13:35:18 -07:00
plugin_each_settings_gradle_project.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
plugin_project.dart Android templates: update default Kotlin from 1.8.22 to 2.1.0, update default Gradle from 8.9 to 8.12 (#160974) 2025-01-23 19:39:32 +00:00
project_with_early_error.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
project.dart Support hot restart for DDC library bundle format (#162123) 2025-01-28 19:10:20 +00:00
stateless_stateful_hot_reload_test_common.dart Wait until all scripts are loaded in the page before running main for the DDC library bundle format (#162707) 2025-02-05 01:12:29 +00:00
stateless_stateful_project.dart Bump Dart SDK to 3.7 (#159812) 2024-12-05 21:39:53 +00:00
stepping_project.dart Bump Dart SDK to 3.7 (#159812) 2024-12-05 21:39:53 +00:00
test_project.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
tests_project.dart Bump Dart SDK to 3.7 (#159812) 2024-12-05 21:39:53 +00:00