cappuccino / OJTest

The Cappuccino Test Framework
http://cappuccino.org
Other
28 stars 13 forks source link

Calling methods on moq objects from within moq objects messes up the final return value #13

Open saikat opened 14 years ago

saikat commented 14 years ago

Will make a test to reproduce this, but if I have a = moq([[A alloc] init]), and b = moq([[B alloc] init]) and in [a method] I call [b someOtherMethod], the return value of [a method] seems to be getting set to the return value of [b someOtherMethod]. Not sure if this is a bug in OJTest or with forwardInvocation in general.

tlrobinson commented 14 years ago

Please check to see if this was fixed by http://github.com/280north/cappuccino/commit/1220555936b8b6ba545e6cb5f69621bdcc676649