forked from erikdoe/ocmock
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove verify-after-running of class methods.
Since iOS 9, class_addMethod and class_replaceMethod flush ObjC cache unconditionally, which makes testing slow by a huge factor. Removing this code avoids many such calls, and still enables mocking and stubbing of class method, but it requires them to happen before running.
- Loading branch information
1 parent
a3e1580
commit 6d8f2c5
Showing
1 changed file
with
0 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters