flutter/packages/flutter_tools/test/commands.shard/hermetic
Andrew Kolos cdc40b5226
clean up --dart-define-from-file option tests (#135980)
Fixes https://github.com/flutter/flutter/issues/134279.

Changes:
* Moves all tests of `--dart-define-from-file` behavior from `build_bundle_test.dart` and `assemble_test.dart` to `flutter_command_test.dart`.
* Deletes a duplicate test of malformed JSON detection behavior.
* Renames the `useDartDefineFromFileOption` method of `FlutterCommand` to `_usesDartDefineFromFileOption`. This 1) makes the name more consistent with the other `uses*Option` methods and 2) hides the method since it is not used outside of the file.
* Renames several tests to better articulate what is under test and what the expected result is.
* Adds a test for the case where a `.env` file with a malformed line is provided to `--dart-define-from-file`.
2023-10-17 22:31:38 +00:00
..
analyze_continuously_test.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
analyze_suggestion_test.dart Suppress analytics flag pass through to analysis server (#123235) 2023-03-24 19:59:15 +00:00
analyze_test.dart Make --flutter-repo analyze whole repo (#127990) 2023-06-02 17:17:54 +00:00
android_analyze_test.dart Add android analyzer commands for applinks (#131009) 2023-08-23 21:11:51 +00:00
assemble_test.dart clean up --dart-define-from-file option tests (#135980) 2023-10-17 22:31:38 +00:00
attach_test.dart Treat missing --local-engine-host as fatal on CI-like systems. (#132707) 2023-08-17 00:41:03 +00:00
build_darwin_framework_test.dart Revert "[flutter_tools] Remove sound null safety flag (#123031)" (#123280) 2023-03-22 22:53:49 +00:00
build_ios_test.dart Reverts "Skip injecting Bonjour settings when port publication is disabled" (#136750) 2023-10-17 19:27:19 +00:00
build_ipa_test.dart Send analytics on 'build ios' and 'build ipa' for plist impeller value (#135193) 2023-09-21 11:49:29 -07:00
build_linux_test.dart Revert "[flutter_tools] Remove sound null safety flag (#123031)" (#123280) 2023-03-22 22:53:49 +00:00
build_macos_test.dart Allow .xcworkspace and .xcodeproj to be renamed from default name 'Runner' (#124533) 2023-05-03 05:52:58 +00:00
build_test.dart Revert "[flutter_tools] Remove sound null safety flag (#123031)" (#123280) 2023-03-22 22:53:49 +00:00
build_web_test.dart [flutter_tools] disallow -O0 for flutter build web (#134185) 2023-09-11 23:33:09 +00:00
build_windows_test.dart [Windows] Add target architecture to build path (#131843) 2023-08-31 09:09:02 -07:00
clean_test.dart enable no_literal_bool_comparisons lint (#126647) 2023-05-16 16:14:23 +00:00
config_test.dart flutter config --list (#135401) 2023-09-27 07:02:13 +00:00
create_usage_test.dart [Android] Add Java/AGP/Gradle incompatibility warning to flutter create (#131444) 2023-09-20 16:01:04 +00:00
custom_devices_test.dart Support disabling animations in the CLI (#132239) 2023-08-23 03:35:22 +00:00
daemon_test.dart Allow passing verbose log from flutter daemon. (#132828) 2023-08-25 04:26:56 +00:00
devices_test.dart Support disabling animations in the CLI (#132239) 2023-08-23 03:35:22 +00:00
doctor_test.dart Support disabling animations in the CLI (#132239) 2023-08-23 03:35:22 +00:00
downgrade_test.dart Give channel descriptions in flutter channel, use branch instead of upstream for channel name (#126936) 2023-05-23 19:59:20 +00:00
drive_test.dart Add --trace-to-file option to flutter run (#135713) 2023-10-12 13:23:52 -04: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 Improve network resources doctor check (#120417) 2023-02-15 00:02:09 +00:00
ide_config_test.dart Null safety migration of packages/flutter_tools/test/commands.shard/hermetic, part 2/3 (#110708) 2022-09-06 10:39:18 -07:00
install_test.dart Separate attached and wireless devices (#122615) 2023-03-15 16:35:05 +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 Null safety migration of packages/flutter_tools/test/commands.shard/hermetic, part 3/3 (#110709) 2022-09-06 10:22:40 -07:00
precache_test.dart Null safety migration of packages/flutter_tools/test/commands.shard/hermetic, part 3/3 (#110709) 2022-09-06 10:22:40 -07:00
proxied_devices_test.dart Reland "[tool] Move Java functions to their own file" (#126577) 2023-05-20 06:29:21 +00:00
proxy_validator_test.dart add missing trailing commas in list/set/map literals (#102585) 2022-04-27 09:15:35 +02:00
pub_test.dart [Tool] Output help on 'flutter pub' (#126211) 2023-05-08 17:22:10 +00:00
run_test.dart Support --web-header option for flutter run (#136297) 2023-10-17 19:42:01 +00:00
screenshot_command_test.dart [flutter_tools] remove VmService screenshot for native devices. (#135462) 2023-09-29 00:21:14 +00:00
shell_completion_test.dart Null safety migration of packages/flutter_tools/test/commands.shard/hermetic, part 3/3 (#110709) 2022-09-06 10:22:40 -07:00
symbolize_test.dart Prepare for utf8.encode() to return more precise Uint8List type (#129769) 2023-06-29 22:44:57 +02:00
test_test.dart [flutter_tools] Support coverage collection for dependencies (#129513) 2023-07-17 08:42:13 +00:00
update_packages_test.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
upgrade_test.dart [flutter_tools] Fix flutter upgrade not finding git tags (#133778) 2023-08-31 22:01:10 +00:00