Repository navigation
Commit 32bf98d
refactor(ios): keep the modal-scope capture out of the packaged runner (#4127)
The modal-scope capture from #4124 has one caller, the alert surface
corpus capture test, yet its ObjC reader, the Swift acquisition, and
the bridge's internal header shipped in the runner source. They move
under UnitTests/, which the packager drops, and compile only under
AGENT_DEVICE_RUNNER_UNIT_TESTS. The bridging header imports the capture
header only when it exists, since OTHER_CFLAGS defines do not reach
Swift's clang importer.
Co-authored-by: Claude Opus 5.5 <[email protected]>1 parent f032409 commit 32bf98d
6 files changed
Lines changed: 11 additions & 4 deletions
File tree
- apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests
- UnitTests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
| 252 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| 81 | + | |
0 commit comments