Skip to content

Add the GIDApplication protocol with a fake - #663

Open
w-goog wants to merge 1 commit into
mainfrom
codegen/ocmock-03a-application-presenter-fakes
Open

w-goog wants to merge 1 commit into
mainfrom
codegen/ocmock-03a-application-presenter-fakes

Conversation

@w-goog

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

Copy link
Copy Markdown
Contributor

First of the two "here's the fake" PRs for the GIDEMMErrorHandler change. GIDApplication (keyWindow, openURL:) wraps UIApplication.sharedApplication, which thankfully only needs the scene since we now have an iOS 15 floor. It gets a protocol + a production implementation + a fake.

The alert presenter is the next PR, and the one after that swaps the handler's swizzles for both.

Base automatically changed from codegen/ocmock-02-device-lacontext-seams to main October 28, 2026 22:05
@w-goog
w-goog force-pushed the codegen/ocmock-03a-application-presenter-fakes branch from 208235a to 884376e Compare October 28, 2026 22:16
@w-goog
w-goog force-pushed the codegen/ocmock-03a-application-presenter-fakes branch from 884376e to 8f360b4 Compare October 28, 2026 22:22
@w-goog w-goog changed the title Add GIDApplication and GIDEMMAlertPresenter seams with fakes Add the GIDApplication seam with a fake Oct 28, 2026
@w-goog
w-goog requested a review from yalkhder October 28, 2026 22:28
@w-goog w-goog changed the title Add the GIDApplication seam with a fake Add the GIDApplication protocol with a fake Oct 28, 2026
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