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

unhook methods needed #15

Open
dodikk opened this issue Oct 16, 2013 · 0 comments
Open

unhook methods needed #15

dodikk opened this issue Oct 16, 2013 · 0 comments
Assignees

Comments

@dodikk
Copy link
Member

dodikk commented Oct 16, 2013

While writing unit tests, I want to set up a hook, run a test and return the system to the previous step. Current implementation with

+ (void)hookInstanceMethodForClass:(Class)targetClass
                      withSelector:(SEL)targetSelector
           prototypeMethodSelector:(SEL)prototypeSelector
                hookMethodSelector:(SEL)hookSelector;

does not work.

See my implementation attempts in : aa06a2e

@ghost ghost assigned volodg Oct 16, 2013
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

No branches or pull requests

2 participants