Back to Flutter

API consistency check tool

engine/src/flutter/tools/api_check/README.md

3.44.1464 B
Original Source

API consistency check tool

Verifies that enums in each of the platform-specific embedders, and the embedder API remain consistent with their API in dart:ui.

Running the tool

This tool is run as part of testing/run_tests.sh.

To run the tool, invoke with the path of the Flutter engine repo as the first argument.

sh
../../../out/host_debug_unopt/dart-sdk/bin/dart \
  test/apicheck_test.dart                       \
  "$(dirname $(dirname $PWD))"