flutter/packages/flutter_tools/test
Greg Spencer 9f23866a0a
Rename module --> application in flutter create command. (#22565)
This renames the "module" template to the "application" template, and makes "application" the default. The existing "app" template is now deprecated.

flutter create also now recognizes the type of project in an existing directory, and is able to recreate it without having the template type explicitly specified (although you can still do that). It does this now by first looking in the .metadata file for the new project_type field, and if it doesn't find that, then it looks at the directory structure. Also, the .metadata file is now overwritten even on an existing directory so that 1) the project_type can be added to legacy projects, and 2) the version of Flutter that updated the project last is updated.

I also cleaned up a bunch of things in create_test.dart, added many more tests, and added an example test to the test/ directory in the generated output of the application template.

Fixes #22530
Fixes #22344
2018-10-04 13:03:20 -07:00
..
android Use "gradle tasks --all" to query build variants (#21761) 2018-10-04 10:06:31 -07:00
base add missing type parameter on methods (#22096) 2018-10-01 21:29:08 +02:00
commands Rename module --> application in flutter create command. (#22565) 2018-10-04 13:03:20 -07:00
dart sort_constructors_first (#22575) 2018-10-04 07:28:07 +02:00
data Roll engine to version d80c1de7b53af81a0b4385eb3f13de1ef77f0d2d 2018-09-27 15:17:03 -07:00
integration Change file paths to URIs to fix "Could not run configuration in engine" on Windows (#22507) 2018-10-02 18:31:55 +01:00
intellij Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
ios Revert "remove code signing special casing for Googlers (#22287)" (#22376) 2018-09-27 14:43:54 -07:00
runner enable lint prefer_generic_function_type_aliases (#21680) 2018-09-14 21:06:19 +02:00
src sort_constructors_first (#22575) 2018-10-04 07:28:07 +02:00
tester Revert "Eliminate snapshot, depfile opts from bundle cmd (#22495)" (#22519) 2018-10-01 10:49:39 -07:00
analytics_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
application_package_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
artifacts_test.dart Cleanup uses of entry points files (#22098) 2018-09-20 15:10:41 -07:00
asset_bundle_package_fonts_test.dart Make font manifest descriptors consistent with the paths used for font assets (#22375) 2018-10-01 14:14:48 -07:00
asset_bundle_package_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
asset_bundle_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
asset_bundle_variant_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
asset_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
base_utils_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
bug_report_test.dart Shim package:test to avoid matcher issues (#20602) 2018-08-14 20:33:58 -07:00
cache_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
channel_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
compile_test.dart Simplify Gradle compiler output. (#21760) 2018-09-20 15:45:48 -07:00
config_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
crash_reporting_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
dart_dependencies_test.dart Fix quotes. 2018-09-27 15:17:03 -07:00
dependency_checker_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
devfs_test.dart sort_constructors_first (#22575) 2018-10-04 07:28:07 +02:00
device_test.dart sort_constructors_first (#22575) 2018-10-04 07:28:07 +02:00
emulator_test.dart sort_constructors_first (#22575) 2018-10-04 07:28:07 +02:00
flutter_manifest_test.dart Rename module --> application in flutter create command. (#22565) 2018-10-04 13:03:20 -07:00
forbidden_imports_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
hot_test.dart sort_constructors_first (#22575) 2018-10-04 07:28:07 +02:00
project_test.dart Rename module --> application in flutter create command. (#22565) 2018-10-04 13:03:20 -07:00
protocol_discovery_test.dart sort_constructors_first (#22575) 2018-10-04 07:28:07 +02:00
resident_runner_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
stop_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
trace_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
utils_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
version_test.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
vmservice_test.dart Shim package:test to avoid matcher issues (#20602) 2018-08-14 20:33:58 -07:00