Name
Last commit
Last update
..
.dartignore Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
cupertino.dart Loading commit data...
cupertino.dart.expect Loading commit data...
gestures.dart Loading commit data...
gestures.dart.expect Loading commit data...
material.dart Loading commit data...
material.dart.expect Loading commit data...
rendering.dart Loading commit data...
rendering.dart.expect Loading commit data...
services.dart Loading commit data...
services.dart.expect Loading commit data...
widgets.dart Loading commit data...
widgets.dart.expect Loading commit data...

Directory contents

The Dart files and golden master .expect files in this directory are used to test the dart fix framework refactorings used by the Flutter framework.

See the flutter/packages/flutter/lib/fix_data.yaml file for the current package:flutter data driven fixes.

To run these tests locally, execute this command in the flutter/packages/flutter/test_fixes directory.

dart fix --compare-to-golden

For more documentation about this folder, see https://dart.dev/go/data-driven-fixes#test-folder.

When making structural changes to this directory

Note that the tests in this directory are also invoked from external repositories. Specifically, the CI system for the dart-lang/sdk repo runs these tests in order to ensure that changes to the dart fix file format do not break Flutter.

See tools/bots/flutter/analyze_flutter_flutter.sh for where the tests are invoked.

When possible, please coordinate changes to this directory that might affect the analyze_flutter_flutter.sh script.