flutter/packages/flutter_tools/test
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
..
commands.shard clean up --dart-define-from-file option tests (#135980) 2023-10-17 22:31:38 +00:00
data Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
general.shard clean up --dart-define-from-file option tests (#135980) 2023-10-17 22:31:38 +00:00
host_cross_arch.shard Native assets support for MacOS and iOS (#130494) 2023-09-10 08:07:13 +00:00
integration.shard Reverts "Skip injecting Bonjour settings when port publication is disabled" (#136750) 2023-10-17 19:27:19 +00:00
src [flutter_tools] catch StdinException when setting terminal to SingleCharMode (#136283) 2023-10-10 23:10:29 +00:00
web.shard [flutter_tool] Delete skipped tests (#136364) 2023-10-11 10:24:14 -07:00