Skip to content

Add OIDFakeAuthorizationService to AppAuthTestHelpers - #993

Open
w-goog wants to merge 4 commits into
codegen/ocmock-appauth-3-fake-sessionfrom
codegen/ocmock-appauth-4-fake-service
Open

w-goog wants to merge 4 commits into
codegen/ocmock-appauth-3-fake-sessionfrom
codegen/ocmock-appauth-4-fake-service

Conversation

@w-goog

@w-goog w-goog commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

This PR adds OIDFakeAuthorizationService. Its instance methods record their arguments and keep the callbacks for the tests to call. The class methods are inherited as-is and are still the ones doing the work.

GoogleSignIn-iOS can use these fakes to replace its OCMock stubs of OIDAuthorizationService :)

@w-goog
w-goog force-pushed the codegen/ocmock-appauth-4-fake-service branch from 1f4203c to 99bac90 Compare November 11, 2026 21:29
@w-goog
w-goog added this pull request to stack #995 November 11, 2026 21:35
@w-goog
w-goog force-pushed the codegen/ocmock-appauth-4-fake-service branch from 2497b23 to fe3e186 Compare November 11, 2026 22:23
@w-goog
w-goog force-pushed the codegen/ocmock-appauth-4-fake-service branch 2 times, most recently from 201bb73 to bf07dbe Compare November 13, 2026 00:05
@w-goog
w-goog force-pushed the codegen/ocmock-appauth-4-fake-service branch from bf07dbe to c0bef02 Compare November 13, 2026 01:31

This branch has not been deployed

No deployments
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