flutter/packages/flutter_tools/test
Victor Eronmosele 4c929f0f44
Prevent test folder deletion on running flutter create --empty on an existing app project (#147160)
This PR modifies the `flutter create --empty` command to not delete the `test/` folder when run on an existing app project. 

Before:
```bash
flutter create my_app --empty
mkdir my_app/test
if test -d my_app/test; then echo "test exists"; else echo "test does not exist"; fi # test exists
flutter create my_app --empty  
if test -d my_app/test; then echo "test exists"; else echo "test does not exist"; fi # test does not exist
```

After:
```bash
flutter create my_app --empty
mkdir my_app/test
if test -d my_app/test; then echo "test exists"; else echo "test does not exist"; fi # test exists
flutter create my_app --empty  
if test -d my_app/test; then echo "test exists"; else echo "test does not exist"; fi # test exists
```
Fixes https://github.com/flutter/flutter/issues/134928
2024-05-22 17:37:05 +00:00
..
android_preview_integration.shard Android Gradle file templates: make it easier to convert them to Kotlin DSL in the future (#142146) 2024-02-15 23:42:13 +00:00
commands.shard Prevent test folder deletion on running flutter create --empty on an existing app project (#147160) 2024-05-22 17:37:05 +00:00
data make asset_test.dart tests not dependent on context (#141331) 2024-01-11 18:08:07 +00:00
general.shard [native_assets] Add support for link hooks (#148474) 2024-05-22 16:02:00 +00:00
host_cross_arch.shard Fixes incorrect read/write permissions on Flutter.framework and FlutterMacOS.framework (#148580) 2024-05-20 14:41:52 -07:00
integration.shard [native_assets] Add support for link hooks (#148474) 2024-05-22 16:02:00 +00:00
src Reland "if chains → switch expressions" (#148634) 2024-05-20 17:43:00 +00:00
web.shard Added missing code block language in docs (#147481) 2024-05-01 14:44:27 +00:00