cedarbdd / cedar

BDD-style testing using Objective-C
http://groups.google.com/group/cedar-discuss
1.19k stars 140 forks source link

Allow stubbing & expectation for pointer arguments #312

Closed pivotal-tampon-run closed 9 years ago

pivotal-tampon-run commented 9 years ago

Took a stab at this today. Credit to @joemasilotti for finding and reporting this bug.

Please check as I did this while soloing.

Also, I'm not sure of the potential consequences of ignoring type qualifier information, but it looks like this typically isn't present for the runtime, just for encodings from the NSMethodSignature.

idoru commented 9 years ago

Turns out one of the old calls wasn't necessary. Will re-submit slightly updated changes.