mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This change migrates `touch-input` integration tests from the `gfx-root-presenter-test-ui-stack` UI test realm variant to run parameterized tests of two types: `gfx-scene-manager-test-ui-stack` and `flatland-scene-manager-test-ui-stack`. Both are exercised for the generic tap test, and only GFX is exercised for embedded view cases. This will enable fuchsia.git to remove the `gfx-root-presenter-test-ui-stack` variant, which will no longer be supported. This change also: - removes or updates all remaining references of root presenter, which manifested in the form of inline code comments - adds a TODO to update the child view app for the embedded touch input test cases Note that this change does _not_ modify the `embedder` integration tests, which use a generic `test-ui-stack` variant as defined by the fuchsia pkg url: `fuchsia-pkg://fuchsia.com/test-ui-stack#meta/test-ui-stack.cm`. Since the contents of this package is defined in fuchsia.git, the realm under test can adapt to changes in fuchsia.git so long as they update the test-ui-stack build target (which they do in https://fxrev.dev/831359, the change that relies on the touch changes in this repo described above.) Fixes https://fxbug.dev/125304 ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide] and the [C++, Objective-C, Java style guides]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See [testing the engine] for instructions on writing and running engine tests. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I signed the [CLA]. - [x] All existing and new tests are passing.