mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() Work towards https://github.com/flutter/flutter/issues/143299.
Work towards https://github.com/flutter/flutter/issues/160043.
---
This PR implements, end-to-end, support for `matchesGoldenFile` when (a)
running with `package:integration_test` (b) on a device, such as an
Android emulator, Android device, iOS simulator, or iOS device, where
the _runner_ of a test file does not have process and local-file system
access.
There are multiple parts to this PR; I could make it smaller than 1K
lines, but the bulk of that is tests, and it would mean landing PRs that
are incomplete and unused, which does not seem useful - so instead here
is a quick overview of the PR's contents - questions/feedback welcome,
and I am willing to break code out or land incremental refactors if
requested.
1. Augmented `flutter_platform.dart` (used for iOS and Android), similar
to
[`flutter_web_platform.dart`](
|
||
---|---|---|
.. | ||
analysis_options.yaml | ||
flutter_tools.dart | ||
fuchsia_asset_builder.dart | ||
fuchsia_tester.dart | ||
macos_assemble.sh | ||
podhelper.rb | ||
tool_backend.bat | ||
tool_backend.dart | ||
tool_backend.sh | ||
xcode_backend.dart | ||
xcode_backend.sh | ||
xcode_debug.js |