Skip to content

Add GIDApplication and GIDEMMAlertPresenter seams with fakes - #663

Open
w-goog wants to merge 2 commits into
codegen/ocmock-02-device-lacontext-seamsfrom
codegen/ocmock-03a-application-presenter-fakes
Open

w-goog wants to merge 2 commits into
codegen/ocmock-02-device-lacontext-seamsfrom
codegen/ocmock-03a-application-presenter-fakes

Conversation

@w-goog

@w-goog w-goog commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

This is the "here's the fake" half of the GIDEMMErrorHandler change - the next PR swaps the handler's UIApplication / UIWindow swizzles for these.

  • GIDApplication (keyWindow, openURL:) wraps UIApplication.sharedApplication and holds the scene iteration, nicely simplified since we now have an iOS 15 floor.
  • GIDEMMAlertPresenter (presentAlert:overKeyWindow:, dismissAlert) holds the alert-window code, copied from the handler (the next PR deletes the original).
  • Each gets a protocol + a production implementation + a fake. They'll be used in the next PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant