flutter/packages/flutter_tools/test/commands.shard/permeable
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
..
data Integrate package:flutter_lints into templates (#81417) 2021-05-10 16:19:04 -07:00
build_aar_test.dart Stop recommending android sdk root (#136296) 2023-10-11 21:04:59 +00:00
build_apk_test.dart Stop recommending android sdk root (#136296) 2023-10-11 21:04:59 +00:00
build_appbundle_test.dart Stop recommending android sdk root (#136296) 2023-10-11 21:04:59 +00:00
build_bundle_test.dart clean up --dart-define-from-file option tests (#135980) 2023-10-17 22:31:38 +00:00
create_test.dart [Android] Add Java/AGP/Gradle incompatibility warning to flutter create (#131444) 2023-09-20 16:01:04 +00:00
devices_test.dart Separate attached and wireless devices (#122615) 2023-03-15 16:35:05 +00:00
packages_test.dart [flutter_tools] Generate localizations on flutter pub get (#132172) 2023-08-18 15:01:09 +00:00
script_test.dart Null safety migration of packages/flutter_tools/test/commands.shard/permeable (#110710) 2022-09-06 10:22:09 -07:00
upgrade_test.dart Fix an ordering dependency in the flutter_tools upgrade test (#129131) 2023-06-19 11:18:16 -07:00