commit | b2a30a372ca3cd3d1d03735c5c4a64110380ffc1 | [log] [tgz] |
---|---|---|
author | stuartmorgan <stuartmorgan@google.com> | Fri Aug 04 12:40:04 2023 -0700 |
committer | GitHub <noreply@github.com> | Fri Aug 04 19:40:04 2023 +0000 |
tree | 46ac39ddfb55c028a1ab4dbd99a1c245e5e08960 | |
parent | ff81b821765197e4493962aa477fa93a9bcb6a62 [diff] |
[pigeon] Consolidate mock handler tests (#4642) Eliminates the `mock_handler_tester` sub-package, which existed just for a single unit test file and required duplicate `pigeons/message.dart` output generation with bespoke test wrappers, folding that test into the shared harness and generation system. This also eliminates an entire test suite from the test harness since it's now part of the rest of the Dart unit testing. This surfaced an edge-case problem with the new package name override, which is that if the override doesn't match the actual dart output location, generated Dart test output won't compile because the import will be wrong. This addresses that by passing the actual package as well to the test generator.
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter's first-party packages (i.e., packages developed by the core Flutter team). Check the packages
directory to see all packages.
These packages are also available on pub.
Please file any issues, bugs, or feature requests in the main flutter repo. Issues pertaining to this repository are labeled “package”.
If you wish to contribute a new package to the Flutter ecosystem, please see the documentation for developing packages. You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package is ready you can publish to the pub repository.
If you wish to contribute a change to any of the existing packages in this repo, please review our contribution guide, and send a pull request.
These are the packages hosted in this repository: