flutter/packages/flutter_tools/lib/src
Greg Spencer ab2b0851a2
Add smoke tests for all the examples, fix 17 broken examples. (#89021)
This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework.

The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead.

The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null.
2021-09-28 09:32:06 -07:00
..
android [flutter_tools] remove non-null check from AndroidValidator (#90090) 2021-09-25 16:53:06 -07:00
base [flutter_tools] remove non-null check from AndroidValidator (#90090) 2021-09-25 16:53:06 -07:00
build_system reassign jonahwilliams todos (#88707) 2021-08-23 12:27:07 -07:00
commands Change min Dart SDK constraint to track actual version (#88743) 2021-09-14 14:08:36 +02:00
custom_devices [custom-devices] general improvements, add custom-devices subcommand, better error handling (#82043) 2021-07-07 09:16:04 -07:00
dart Do not retry if pub get is run in offline mode (#90394) 2021-09-27 08:18:06 -07:00
drive Migrate dds.dart to null safety (#88382) 2021-08-17 21:12:03 -07:00
fuchsia Replace amber_ctl with pkgctl for Fuchsia (#89785) 2021-09-10 10:33:45 -07:00
intellij enable lint prefer_interpolation_to_compose_strings (#83407) 2021-06-01 11:14:06 -07:00
ios Migrate iOS project to Xcode 13 compatibility (#90304) 2021-09-22 13:23:05 -07:00
isolated reassign jonahwilliams todos (#88707) 2021-08-23 12:27:07 -07:00
linux Split project.dart into CMake and Xcode projects (#85359) 2021-06-28 11:31:04 -07:00
localizations internationalization: fix select with incorrect message (#90096) 2021-09-16 09:23:22 -07:00
macos reassign jonahwilliams todos (#88707) 2021-08-23 12:27:07 -07:00
migrations Split project.dart into CMake and Xcode projects (#85359) 2021-06-28 11:31:04 -07:00
reporting Revert "Revert "Audit hashCode overrides outside of packages/flutter (#85370)" (#85451)" (#85567) 2021-06-30 09:46:54 -07:00
runner master->main deafult branch migration (#89782) 2021-09-10 15:42:03 -07:00
test Close the IntegrationTestTestDevice stream when the VM service shuts down (#90022) 2021-09-17 19:18:03 -07:00
tester clean up stale or unnecessary TODOS (#88308) 2021-08-16 21:37:03 -07:00
vscode Revert "Revert "Audit hashCode overrides outside of packages/flutter (#85370)" (#85451)" (#85567) 2021-06-30 09:46:54 -07:00
web clean up stale or unnecessary TODOS (#88308) 2021-08-16 21:37:03 -07:00
windows Reduce required Windows CMake version to 3.14 (#89390) 2021-09-03 21:05:58 -07:00
application_package.dart Migrate android_sdk and application_package to null safety (#79611) 2021-04-02 14:39:53 -07:00
artifacts.dart Stop calling top level pub (#89032) 2021-08-30 10:40:10 -07:00
asset.dart Clean up null assumptions in devfs to prep for null safety migration (#88934) 2021-09-08 15:27:05 -07:00
build_info.dart reassign jonahwilliams todos (#88707) 2021-08-23 12:27:07 -07:00
bundle_builder.dart Migrate project.dart and all dependencies to null safety (#83817) 2021-06-02 18:41:12 -07:00
bundle.dart [flutter_tools] ensure kernel paths match between init from dill and persist (#85252) 2021-06-25 11:11:04 -07:00
cache.dart Change min Dart SDK constraint to track actual version (#88743) 2021-09-14 14:08:36 +02:00
cmake_project.dart Changed tool cached properties to late finals (#88923) 2021-08-26 14:01:05 -07:00
cmake.dart Split project.dart into CMake and Xcode projects (#85359) 2021-06-28 11:31:04 -07:00
compile.dart reassign jonahwilliams todos (#88707) 2021-08-23 12:27:07 -07:00
context_runner.dart Stop calling top level pub (#89032) 2021-08-30 10:40:10 -07:00
convert.dart [flutter_tools] migrate some base libraries to null safety (#77738) 2021-03-10 12:15:04 -08:00
desktop_device.dart Add smoke tests for all the examples, fix 17 broken examples. (#89021) 2021-09-28 09:32:06 -07:00
devfs.dart Clean up null assumptions in devfs to prep for null safety migration (#88934) 2021-09-08 15:27:05 -07:00
device_port_forwarder.dart Fix device_port_forwarder file name typo (#79481) 2021-03-31 18:14:03 -07:00
device.dart master->main deafult branch migration (#89782) 2021-09-10 15:42:03 -07:00
devtools_launcher.dart Stop calling top level pub (#89032) 2021-08-30 10:40:10 -07:00
doctor_validator.dart Revert "Revert "Audit hashCode overrides outside of packages/flutter (#85370)" (#85451)" (#85567) 2021-06-30 09:46:54 -07:00
doctor.dart Find VS Code installations with Spotlight query on macOS (#80477) 2021-04-16 17:24:00 -07:00
emulator.dart enable lint prefer_interpolation_to_compose_strings (#83407) 2021-06-01 11:14:06 -07:00
features.dart [flutter_tools] remove feature for alternative invalidation strategy (#84366) 2021-06-10 11:59:04 -07:00
flutter_application_package.dart Remove globals from android application_package (#83852) 2021-06-03 18:14:04 -07:00
flutter_cache.dart reassign jonahwilliams todos (#88707) 2021-08-23 12:27:07 -07:00
flutter_device_manager.dart [flutter_tools] well known device ids (#85184) 2021-06-24 18:46:04 -07:00
flutter_features.dart [flutter_tools] remove feature for alternative invalidation strategy (#84366) 2021-06-10 11:59:04 -07:00
flutter_manifest.dart Turn on avoid_dynamic_calls lint, except packages/flutter tests, make appropriate changes. (#84476) 2021-06-14 14:16:57 -07:00
flutter_plugins.dart Show warning when an app or plugin uses the V1 Android embedding (#86750) 2021-07-21 12:51:43 -07:00
flutter_project_metadata.dart Add a more complete app template for Flutter (skeleton) (#83530) 2021-06-28 15:26:04 -07:00
globals_null_migrated.dart Migrate fuchsia sdk and dependencies to null safety (#88920) 2021-08-25 19:51:04 -07:00
globals.dart Migrate fuchsia sdk and dependencies to null safety (#88920) 2021-08-25 19:51:04 -07:00
license_collector.dart enable lint prefer_interpolation_to_compose_strings (#83407) 2021-06-01 11:14:06 -07:00
mdns_discovery.dart clean up stale or unnecessary TODOS (#88308) 2021-08-16 21:37:03 -07:00
persistent_tool_state.dart Migrate persistent_tool_state to null safety (#80085) 2021-04-08 19:14:03 -07:00
platform_plugins.dart Changed tool cached properties to late finals (#88923) 2021-08-26 14:01:05 -07:00
plugins.dart Turn on avoid_dynamic_calls lint, except packages/flutter tests, make appropriate changes. (#84476) 2021-06-14 14:16:57 -07:00
preview_device.dart [flutter_tools] add un-discoverable preview device (#85253) 2021-06-25 15:36:04 -07:00
project.dart Changed tool cached properties to late finals (#88923) 2021-08-26 14:01:05 -07:00
protocol_discovery.dart Turn on avoid_dynamic_calls lint, except packages/flutter tests, make appropriate changes. (#84476) 2021-06-14 14:16:57 -07:00
proxy_validator.dart Migrate some workflows and doctor validators to null safety (#79807) 2021-04-05 14:00:36 -07:00
resident_devtools_handler.dart [flutter_tools] convert devtools URL to a better format (#85170) 2021-06-23 19:31:02 -07:00
resident_runner.dart reassign jonahwilliams todos (#88707) 2021-08-23 12:27:07 -07:00
run_cold.dart Clean up the command line tool interactive help output. (#80903) 2021-04-22 19:34:02 -07:00
run_hot.dart reassign jonahwilliams todos (#88707) 2021-08-23 12:27:07 -07:00
sksl_writer.dart Migrate tool version to null safety (#79911) 2021-04-07 16:49:23 -07:00
template.dart Handle reserved Kotlin keywords (#86518) 2021-08-02 14:35:05 -07:00
tracing.dart Allow writing startup_info.json to somewhere other than the build dir (#79338) 2021-03-30 16:18:45 -07:00
version.dart Move flutterGit from version.dart (#79568) 2021-06-16 11:51:37 -07:00
vmservice.dart Clean up null assumptions in vmservice for null safe migration (#89009) 2021-09-09 19:32:02 -07:00
xcode_project.dart Migrate iOS project to Xcode 13 compatibility (#90304) 2021-09-22 13:23:05 -07:00