flutter/packages/flutter_tools/test/general.shard/runner
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
..
flutter_command_runner_test.dart Null safety migration of packages/flutter_tools/test/general.shard, part 1/2 (#110711) 2022-09-08 15:25:27 -07:00
flutter_command_test.dart clean up --dart-define-from-file option tests (#135980) 2023-10-17 22:31:38 +00:00
local_engine_test.dart Always require --local-engine-host if --local-engine (#133003) 2023-08-22 01:32:14 +00:00
runner_test.dart Clean up analytics opt in/out flags (#132588) 2023-09-12 22:49:05 +00:00
target_devices_test.dart Support disabling animations in the CLI (#132239) 2023-08-23 03:35:22 +00:00
utils.dart Migrate some test files to null safety (#104469) 2022-05-24 16:53:08 -07:00