tree: 4a28dd3a2bab4bf018c85c51532a03ae5b6b7f33 [path history] [tgz]
  1. alternate_language_test_plugin/
  2. flutter_null_safe_unit_tests/
  3. ios_unit_tests/
  4. shared_test_plugin_code/
  5. test_plugin/
  6. README.md
packages/pigeon/platform_tests/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 run_tests.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.

ios_unit_tests

This is a legacy harness that is only necessary for CI, and will be removed in the future. See this PR for more details.