文件最后提交记录最后更新时间
Update repo for 3.32 stable (#9311) Does all of the steps from https://github.com/flutter/flutter/blob/master/docs/ecosystem/release/Updating-Packages-repo-for-a-stable-release.md for the 3.32 stable release (except the first one, as the stable roller has already landed).11 个月前
[pigeon] Create a message call free InstanceManager when running unit tests (#9395) To support hot restart, PigeonInstanceManager.instance makes a call to clear the native InstanceManager when it is instantiated. This was the source of unit test race condition flakes like https://github.com/flutter/flutter/issues/164132. The current workaround is to try/catch the async PlatformException at the top of every test file or pass a test InstanceManager to every ProxyApi class: ```dart final MyNativeClass object = MyNativeClass( pigeon_instanceManager: PigeonInstanceManager( onWeakReferenceRemoved: (_) {} ), ); ``` This PR changes it to [detect a test ran as Flutter unit test](https://api.flutter.dev/flutter/flutter_test/TestWidgetsFlutterBinding/ensureInitialized.html) and sets the default InstanceManager with one that doesn't make any message calls. ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.11 个月前
[pigeon] Use a const for custom type ids for gobject generated files (#156100) (#9306) Adds a custom type identifier to generated gobject headers for the user. Calling fl_value_new_custom_object is now possible with that constant. This fixes https://github.com/flutter/flutter/issues/156100 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.11 个月前
Update Flutter wiki links (#6789) Updates all links to the Flutter wiki to point to their new location in the flutter/flutter repository. (The sole exception is a link to a doc that doesn't have a final home yet, and is linked from legacy code anyway so doesn't really need to be updated.) While touching the PR template, makes a few minor improvements: - Removes the breaking change discussion that doesn't apply to this repository, as breaking changes are handled totally differently for packages (and is covered by the link to docs about Dart versioning). - Adds text and a link to reflect the fact that some PRs can be changelog-exempt.1 年前
README.md

Native Pigeon Tests

This directory contains native test harnesses for native and end-to-end tests of Pigeon-generated code. The test script generates native code from pigeons/ into the native test scaffolding, and then drives the tests there.

To run these tests, use test.dart.

Alternately, if you are running them directly (e.g., from within a platform IDE), you can use generate.dart to generate the necessary Pigeon output.

test_plugin

The new unified test harness for all platforms. Tests in this plugin use the same structure as tests for the Flutter team-maintained plugins, as described in the repository documentation.

alternate_language_test_plugin

The test harness for alternate languages, on platforms that have multiple supported plugin languages. It covers:

  • Java for Android
  • Objective-C for iOS

flutter_null_safe_unit_tests

Dart unit tests for null-safe mode. This is a legacy structure from before NNBD was the only mode Pigeon supported; these should be folded back into the main tests.