You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 24a6bbc
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(ios-runner): drop the unused application display ID resolver
Every synthesized gesture routes its display through the window it already
resolved for geometry, so the wrapper that re-walked windows.firstMatch had no
production caller left. Its assertions move to RunnerResolveWindowDisplayID, so
the resolve-before-read ordering, the primary-window identity, and both refusal
branches stay under test.
Refs #2724
Copy file name to clipboardExpand all lines: apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests/UnitTests/RunnerTests+XCTestEventBridgeTests.swift
+10-32Lines changed: 10 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ private final class DisplayScreenFixture: NSObject {
6
6
init(_displayID:UInt){self.displayID=displayID}
7
7
}
8
8
9
+
/// A window that only reports the display it was built with once its frame has been read, which is
10
+
/// when XCTest resolves the snapshot. Before that read, `screen` still names main.
9
11
privatefinalclassDisplayWindowFixture:NSObject{
10
12
letwindowFrame:CGRect
11
13
letresolvedDisplayID:UInt
@@ -21,51 +23,27 @@ private final class DisplayWindowFixture: NSObject {
0 commit comments