
* ➕ 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>
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.