You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to mock a function call called funct1 and make it return a null pointer.
But I only want to do that on the 3rd call of funct1 and I want all the other calls to be actualCalls.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to mock a function call called funct1 and make it return a null pointer.
But I only want to do that on the 3rd call of funct1 and I want all the other calls to be actualCalls.
Is there a way to do that currently?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions