flutter/packages/flutter_tools/test/general.shard
Jonah Williams cb67513f29
[flutter_tools] Reland: simplify pub cache logic (#67589)
There have been some more additional reports of a missing 'package:characters' import after upgrading flutter. This has me concerned that our pub caching logic is incorrect. Instead of the tool attempting to guess when pub should be run, always delegate to pub.

Also takes an opportunity to fix the kernel snapshot depending on the .packages or package_config. Due to the generated: date field this causes extra rebuilds. Instead when pub get is run, write out an additional file with just the package contents and version.

Fixes #66777
Fixes #65723
2020-10-23 10:00:56 -07:00
..
android Revert "enable unnecessary_string_escapes and use_raw_strings (#68302)" (#68714) 2020-10-21 08:16:13 -07:00
base [flutter_tools] Reland: simplify pub cache logic (#67589) 2020-10-23 10:00:56 -07:00
build_system Revert "[flutter_tools] refactor drive launch into separate service, split by mobile+desktop and web (#68451)" (#68845) 2020-10-22 19:39:33 -07:00
commands [flutter_tools] HACKTOBERFEST (#67882) 2020-10-12 09:31:02 -07:00
dart [flutter_tools] Reland: simplify pub cache logic (#67589) 2020-10-23 10:00:56 -07:00
fuchsia Replace MockArtifacts with Artifacts.test() (#67012) 2020-09-30 16:25:29 -07:00
intellij Revert "enable unnecessary_string_escapes and use_raw_strings (#68302)" (#68714) 2020-10-21 08:16:13 -07:00
ios Revert "enable unnecessary_string_escapes and use_raw_strings (#68302)" (#68714) 2020-10-21 08:16:13 -07:00
linux [flutter_tools] remove globals from desktop configuration (#67146) 2020-10-02 21:52:53 -07:00
macos Revert "enable unnecessary_string_escapes and use_raw_strings (#68302)" (#68714) 2020-10-21 08:16:13 -07:00
reporting Prefer tear offs to lambdas in test expects (#61196) 2020-07-09 17:58:51 -07:00
runner [flutter_tools] remove globals from FlutterValidator, add documentation and move tests to new file (#67234) 2020-10-05 17:58:56 -07:00
tester Remove unused 'dart:async' imports. (#65568) 2020-09-16 14:14:06 -07:00
vscode [flutter_tools] do not error doctor on missing vs code extension (#66780) 2020-09-30 08:41:31 -07:00
web Respond to HTTP POST requests with 404 in WebAssetServer (#68492) 2020-10-19 16:21:39 -07:00
windows [flutter_tools] remove globals from desktop configuration (#67146) 2020-10-02 21:52:53 -07:00
analytics_test.dart Replace MockFile with memory file system files (#66941) 2020-09-29 17:50:33 -07:00
android_plugin_test.dart [flutter_tools] cleanups to plugin test cases (#67242) 2020-10-05 14:45:39 -07:00
application_package_test.dart Replace MockProcessManager with FakeProcessManager (#67019) 2020-10-05 12:21:43 -07:00
artifact_updater_test.dart [flutter_tools] do not measure progress timeout (#67959) 2020-10-13 13:05:47 -07:00
artifacts_test.dart Replace MockFile with memory file system files (#66941) 2020-09-29 17:50:33 -07:00
asset_bundle_package_fonts_test.dart Remove unused 'dart:async' imports. (#65568) 2020-09-16 14:14:06 -07:00
asset_bundle_package_test.dart Remove unused 'dart:async' imports. (#65568) 2020-09-16 14:14:06 -07:00
asset_bundle_test.dart [flutter_tools] fix recursive asset variant issue (#61129) 2020-07-08 18:07:27 -07:00
asset_bundle_variant_test.dart
asset_test.dart Remove unused 'dart:async' imports. (#65568) 2020-09-16 14:14:06 -07:00
base_utils_test.dart Remove unused 'dart:async' imports. (#65568) 2020-09-16 14:14:06 -07:00
build_info_test.dart [flutter_tools] support code size tooling on iOS, linux, windows, macOS, and Android on Windows (#63610) 2020-08-25 10:00:24 -07:00
bundle_shim_test.dart
cache_test.dart [flutter_tools] Reland: simplify pub cache logic (#67589) 2020-10-23 10:00:56 -07:00
channel_test.dart Replace MockFile with memory file system files (#66941) 2020-09-29 17:50:33 -07:00
cold_test.dart [flutter_tools] delete code related to reload method (#67279) 2020-10-05 09:57:10 -07:00
common_test.dart
compile_batch_test.dart Use multiroot scheme for initial compilation in ResidentRunner recompile (#68280) 2020-10-16 10:54:19 -07:00
compile_expression_test.dart [flutter_tools] reland: map file URIs to a multiroot scheme (#66405) 2020-09-23 07:03:59 -07:00
compile_incremental_test.dart request.mainUri should be fileUri (#68329) 2020-10-16 15:23:54 -07:00
compile_test.dart [flutter_tools] reland: map file URIs to a multiroot scheme (#66405) 2020-09-23 07:03:59 -07:00
config_test.dart Use XDG_CONFIG_HOME dir by default for config files (#66645) 2020-10-03 08:40:09 -07:00
coverage_collector_test.dart
crash_reporting_test.dart [flutter_tools] dont let crash reporter crash tool (#66755) 2020-09-30 15:26:25 -07:00
create_config_test.dart [flutter_tools] dont allow creating package name that is invalid (#67786) 2020-10-12 15:38:23 -07:00
desktop_device_test.dart Revert "[flutter_tools] refactor drive launch into separate service, split by mobile+desktop and web (#68451)" (#68845) 2020-10-22 19:39:33 -07:00
devfs_test.dart [flutter_tools] increase devFS sync timeout to 60 seconds (#68488) 2020-10-19 10:14:37 -07:00
device_test.dart [flutter_tools] remove globals from compile and devices (#67485) 2020-10-08 12:28:58 -07:00
doctor.dart
emulator_test.dart Handle missing Android SDKs in getEmulators() (#67295) 2020-10-05 08:57:04 -07:00
features_test.dart [flutter_tools] update windows config feature (#65867) 2020-09-17 15:24:52 -07:00
flutter_manifest_test.dart Show correct errors when plugins yaml forgot the 'flutter.plugins.pla… (#61338) 2020-07-22 18:24:03 -07:00
flutter_platform_test.dart Set DDS port to requested observatory port for test (#66607) 2020-09-30 10:14:13 -07:00
flutter_project_metadata_test.dart [flutter_tools] update metadata detection to account for invalid yaml (#68243) 2020-10-15 16:51:52 -07:00
flutter_validator_test.dart [flutter_tools] remove globals from FlutterValidator, add documentation and move tests to new file (#67234) 2020-10-05 17:58:56 -07:00
generate_localizations_test.dart [gen_l10n] Create pubspec.yaml in ".dart_tool/flutter_gen" if it does not already exist (#68206) 2020-10-16 11:34:27 +08:00
github_template_test.dart Replace MockFile with memory file system files (#66941) 2020-09-29 17:50:33 -07:00
hot_test.dart [flutter_tools] use fixed entry for dill uploads (#67837) 2020-10-12 09:47:41 -07:00
license_collector_test.dart
mdns_discovery_test.dart Reland "Re-enable the Dart Development Service (DDS) (#64671)" (#65873) 2020-09-16 16:27:42 -07:00
persistent_tool_state_test.dart Replace MockFile with memory file system files (#66941) 2020-09-29 17:50:33 -07:00
plugin_parsing_test.dart [flutter_tools] cleanups to plugin test cases (#67242) 2020-10-05 14:45:39 -07:00
plugins_test.dart Revert "enable unnecessary_string_escapes and use_raw_strings (#68302)" (#68714) 2020-10-21 08:16:13 -07:00
project_file_invalidator_test.dart Replace MockFile with memory file system files (#66941) 2020-09-29 17:50:33 -07:00
project_test.dart Generate only requested platform directories on create (#68376) 2020-10-19 14:17:43 -07:00
protocol_discovery_test.dart [flutter_tools] do not add events to closed sink in throttle transform (#66468) 2020-09-23 10:40:39 -07:00
resident_runner_test.dart Revert "[flutter_tools] refactor drive launch into separate service, split by mobile+desktop and web (#68451)" (#68845) 2020-10-22 19:39:33 -07:00
resident_web_runner_cold_test.dart [flutter tools] Add a DelegatingLogger class (#67581) 2020-10-09 15:55:24 -07:00
resident_web_runner_test.dart [flutter tools] Add a DelegatingLogger class (#67581) 2020-10-09 15:55:24 -07:00
screenshot_command_test.dart
terminal_handler_test.dart [flutter_tools] fix calling debugToggleBrightness on release mode (#66401) 2020-09-24 18:56:07 -07:00
test_compiler_test.dart
testbed_test.dart [flutter_tools] rethrow process exceptions as tool exit from gradle build (#64745) 2020-09-03 11:55:55 -07:00
time_test.dart
tracing_test.dart Save startup timeline (#65118) 2020-09-15 11:17:30 -07:00
update_packages_test.dart Test update_packages for git packages (#61127) 2020-07-08 19:31:02 -07:00
utils_test.dart [flutter_tools] remove globals from utils (#63831) 2020-08-24 15:26:03 -07:00
version_test.dart [flutter_tools] Add channel order aware version_test (#62417) 2020-09-24 13:07:03 -07:00
vmservice_test.dart [flutter_tools] delete code related to reload method (#67279) 2020-10-05 09:57:10 -07:00