flutter/packages/flutter_tools/test/commands.shard/hermetic
Loïc Sharma 3bda455f4e
Improve 'flutter downgrade' error message (#154434)
`flutter downgrade` fails if you haven't used `flutter upgrade`:

```
$ flutter downgrade
There is no previously recorded version for channel "stable".
```

It's not clear what actions a user should take from this error message. Here's the new error message:

```
$ flutter downgrade
It looks like you haven't run "flutter upgrade" on channel "stable".

"flutter downgrade" undoes the last "flutter upgrade".

To switch to a specific Flutter version, see: https://flutter.dev/to/switch-flutter-version
```

Depends on https://github.com/flutter/website/pull/11098
2024-09-04 22:06:31 +00:00
..
analyze_continuously_test.dart Remove --disable-dart-dev across flutter/flutter. (#154280) 2024-08-29 22:50:04 +00:00
analyze_suggestion_test.dart Fix formatting (#137613) 2023-10-31 13:27:26 +00:00
analyze_test.dart Remove --disable-dart-dev across flutter/flutter. (#154280) 2024-08-29 22:50:04 +00:00
android_analyze_test.dart Android analyze command should run pub (#153953) 2024-08-23 17:57:07 +00:00
assemble_test.dart Migrate command usage values (#139383) 2023-12-07 16:12:03 +00:00
attach_test.dart Handle "Service connection disposed" error from VmService disconnecting while requests are outstanding (#153714) 2024-08-20 16:39:19 +00:00
build_aar_test.dart provide command to FakeCommand::onRun (#142206) 2024-01-25 07:51:25 +00:00
build_darwin_framework_test.dart Fix embedding FlutterMacOS.framework for macOS add2app via cocoapods (#144248) 2024-03-05 21:59:49 +00:00
build_ios_test.dart [tool] Remove some usages of deprecated usage package (#151359) 2024-07-09 18:17:21 +00:00
build_ipa_test.dart Fix flutter build ipa --export-method not accepting enterprise flag (#153047) 2024-08-08 16:07:27 +00:00
build_linux_test.dart [tool] Remove some usages of deprecated usage package (#151359) 2024-07-09 18:17:21 +00:00
build_macos_test.dart Reland "Load parent package config" (#153754) 2024-08-20 15:30:46 +02:00
build_test.dart Flutter preview device (#135639) 2023-10-18 00:27:54 +00:00
build_web_test.dart [web] hide the --web-renderer option in the tool (#152683) 2024-08-07 18:40:58 +00:00
build_windows_test.dart [tool] Remove some usages of deprecated usage package (#151359) 2024-07-09 18:17:21 +00:00
clean_test.dart Reland "Load parent package config" (#153754) 2024-08-20 15:30:46 +02:00
config_test.dart [Reland] Migration for the sendTiming events for package:unified_analytics (#139299) 2023-12-04 21:39:18 +00:00
create_usage_test.dart Add create app and plugin templates for Swift Package Manager (#147082) 2024-04-24 22:46:20 +00:00
custom_devices_test.dart Remove outdated ignores from tool (#140467) 2023-12-20 22:14:32 +00:00
daemon_test.dart Reland "Launch DDS from Dart SDK and prepare to serve DevTools from DDS (#146593)" (#152386) 2024-07-26 20:51:19 +00:00
devices_test.dart Control flow collections: flutter_tools/ (#147450) 2024-05-02 22:19:18 +00:00
doctor_test.dart Remove outdated ignores from tool (#140467) 2023-12-20 22:14:32 +00:00
downgrade_test.dart Improve 'flutter downgrade' error message (#154434) 2024-09-04 22:06:31 +00:00
drive_test.dart Reland "Launch DDS from Dart SDK and prepare to serve DevTools from DDS (#146593)" (#152386) 2024-07-26 20:51:19 +00:00
flutter_web_platform_test.dart Refactor BuildInfo to always require packageConfigPath (#150559) 2024-07-02 11:19:31 +02:00
generate_localizations_test.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
http_host_validator_test.dart Switch to more reliable flutter.dev link destinations in the tool (#150587) 2024-06-26 23:30:39 +00:00
ide_config_test.dart
install_test.dart Remove outdated ignores from tool (#140467) 2023-12-20 22:14:32 +00:00
ios_analyze_test.dart Makes scheme and target optional parameter when getting universal lin… (#134571) 2023-09-15 21:01:05 +00:00
logs_test.dart [flutter_tools] Fix bad state future already completed in flutter logs (#138517) 2023-11-23 19:56:14 +00:00
precache_test.dart
proxied_devices_test.dart Update proxied devices to handle connection interface and diagnostics. (#145061) 2024-03-13 22:24:25 +00:00
proxy_validator_test.dart
pub_test.dart Reland "Load parent package config" (#153754) 2024-08-20 15:30:46 +02:00
run_test.dart Reland "Load parent package config" (#153754) 2024-08-20 15:30:46 +02:00
screenshot_command_test.dart Enable flutter screenshot outside Flutter project directory (#138160) 2023-11-17 01:08:13 +00:00
shell_completion_test.dart
symbolize_test.dart Fix tests expectations regarding new lines. (#153174) 2024-08-09 10:31:48 -07:00
test_test.dart Roll pub packages (#154267) 2024-08-29 16:28:08 +00:00
update_packages_test.dart Copy the flutter version JSON file into the simulated Flutter SDK used by update_packages (#143035) 2024-02-06 20:00:08 -08:00
upgrade_test.dart Reland: Update link branches to main (#146882) 2024-04-17 13:16:33 +00:00