Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to ignore selectors on mocks to handle methods with variadic arguments. #539

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on May 2, 2024

  1. Adds ability to ignore selectors on mocks

    Messages matching ignored selectors will be sent directly to real objects bypassing objc message forwarding.  This is used to deal with methods that have variadic parameter.  (the NSInvocation object doesnt handle variadic parameters).
    
    Example Usage:
    
    OCMIgnore(@Class(MYClass),@selector(methodWithVariadicParams:));
    Scott Morrison committed May 2, 2024
    Configuration menu
    Copy the full SHA
    5671c06 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Addresses issue where a creating partialMock can remove stubs from a …

    …ClassMock
    
    Class mocks now have to be created prior to any partial mocks.
    Scott Morrison committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    317efb4 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    6fa4319 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Fixes issue with removing stubs

    Scott Morrison committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    d110112 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. adds +[ OCMArg setToResultOfBlock:(id(^)(void))block]

    Scott Morrison committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    d66b880 View commit details
    Browse the repository at this point in the history