commit | 65254411e6773cdc97c5b091c07856b52f9965c9 | [log] [tgz] |
---|---|---|
author | stuartmorgan <stuartmorgan@google.com> | Wed May 22 14:07:09 2024 |
committer | GitHub <noreply@github.com> | Wed May 22 14:07:09 2024 |
tree | 81ab791b1eb3594823b2c6c303126b63e85611f8 | |
parent | cdd8e2d3562cd46c54754c39687568a1f4fb24bd [diff] |
[local_auth] Convert native unit tests to Swift (#6779) Converts native unit tests from Objective-C to Swift, as a first step toward an eventual plugin conversion. Since OCMock usage was removed in a previous PR, the tests are converted essentially directly (the rewrites were largely mechanical syntax replacement), without any changes needed to production code. There are a few places where interacting with the Pigeon-generated Obj-C is somewhat awkward because the NSError signature isn't auto-converting to `throw` in cases where we use `NSNumber` wrapping, but all that will get cleaned up when we switch the plugin over to Swift Pigeon generation and have idiomatic Swift APIs that the tests will be calling instead. Fixes a couple of false positives in the repo tooling surfaced by this PR: - `darwin/Tests/` wasn't recognized as a test directory. - Swift tests weren't recognized as exempt from requiring Swift entries in the podspec. Part of https://github.com/flutter/flutter/issues/119104
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: