Skip to content

Inject the device and LAContext into GIDEMMSupport and GIDMDMPasscodeCache - #659

Open
w-goog wants to merge 15 commits into
mainfrom
codegen/ocmock-02-device-lacontext-seams
Open

w-goog wants to merge 15 commits into
mainfrom
codegen/ocmock-02-device-lacontext-seams

Conversation

@w-goog

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

Copy link
Copy Markdown
Contributor

Second of the OCMock removal stack, on top of #658. This one removes the UIDevice.systemName and LAContext swizzles (and the MDM test's iOS 9 guards).

  • GIDEMMSupport gets the device dep it needs. The class methods stay and delegate.
  • GIDMDMPasscodeCache gets its LAContext through the initializer.
  • UIDevice and LAContext each get a protocol + a fake, so the tests can hand in their own.

@w-goog
w-goog requested a review from mingyokim October 21, 2026 00:57
@w-goog
w-goog force-pushed the codegen/ocmock-02-device-lacontext-seams branch from eac9534 to 39a9801 Compare October 21, 2026 22:03
Base automatically changed from codegen/ocmock-01-bundle-seam to main October 21, 2026 22:37
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