flutter/packages/flutter_tools/test/integration.shard
Shi-Hao Hong 16913b07e8
Relands "[gen-l10n] Fixes named and positional parameter issue with NumberFormat when type is specified" (#75346)
*  Added a new template for [NumberFo
rmat] with positional parameter(s)

* 🔨 Renamed [numberFormatTemplate] to [numberFormatNamedTemplate]

* [gen-l10n] Fixed generation error for namedParameters and optionalParameters

* [gen-l10n] Fixed string value generation for optional parameter

* [gen-l10n-test] Added new tests for `decimalPattern`, `percentPattern`, `scientificPattern` and formats with optional parameters.

* 🔨 Removed trailing whitespaces

* 🔨 replaced [_generateStringParameterValue] with [generateString]

* 🔨 Specified variable types in NumberFormat templates.

*  Added a new template for [NumberFo
rmat] with positional parameter(s)

* 🔨 Renamed [numberFormatTemplate] to [numberFormatNamedTemplate]

* [gen-l10n] Fixed generation error for namedParameters and optionalParameters

* [gen-l10n] Fixed string value generation for optional parameter

* [gen-l10n-test] Added new tests for `decimalPattern`, `percentPattern`, `scientificPattern` and formats with optional parameters.

* 🔨 Removed trailing whitespaces

* 🔨 replaced [_generateStringParameterValue] with [generateString]

* 🔨 Specified variable types in NumberFormat templates.

* [gen-l10n]  added test for parameter having special characters in string value.

* Accidental tab added to integration test

Co-authored-by: arish <arishsultan104@gmail.com>
2021-02-04 03:31:22 +08:00
..
test_data Relands "[gen-l10n] Fixes named and positional parameter issue with NumberFormat when type is specified" (#75346) 2021-02-04 03:31:22 +08:00
analyze_size_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
android_plugin_example_app_build_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
background_isolate_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
build_ios_config_only_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
command_output_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
coverage_collection_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
daemon_mode_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
debugger_stepping_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
deprecated_gradle_settings_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
downgrade_upgrade_integration_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
expression_evaluation_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
flutter_attach_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
flutter_gen_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
flutter_immediately_exit_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
flutter_run_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
flutter_run_with_error_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
forbidden_imports_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
gen_l10n_test.dart Relands "[gen-l10n] Fixes named and positional parameter issue with NumberFormat when type is specified" (#75346) 2021-02-04 03:31:22 +08:00
generated_plugin_registrant_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
hot_reload_errors_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
hot_reload_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
hot_reload_with_asset_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
ios_content_validation_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
lifetime_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
macos_content_validation_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
migrate_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
observatory_port_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
plist_parser_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
README.md Test generated_plugin_registrant analysis & suppress long lines in web plugin registrant (#71981) 2020-12-16 22:19:05 -08:00
single_widget_reload_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
stateless_stateful_hot_reload_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
template_manifest_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
test_driver.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
test_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
test_utils.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
unit_coverage_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
vmservice_integration_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00
xcode_backend_test.dart [flutter_tools] opt all flutter tool libraries and tests out of null safety. (#74832) 2021-01-27 15:17:53 -08:00

Integration tests

These tests are not hermetic, and use the actual Flutter SDK. While they don't require actual devices, they run flutter_tester to test Dart VM and Flutter integration.

Use this command to run (from the flutter_tools directory):

../../bin/cache/dart-sdk/bin/pub run test test/integration.shard

You need to have downloaded the Dart SDK in your Flutter clone for this to work. Running ../../bin/flutter will automatically download it.

Coverage exclusion

These tests are expensive to run and do not give meaningful coverage information for the flutter tool (since they are black-box tests that run the tool as a subprocess, rather than being unit tests). For this reason, they are in a separate shard when running on continuous integration and are not run when calculating coverage.