JT Olds
unread,Mar 1, 2012, 6:10:53 PM3/1/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mox-discuss
Hey all,
So it looks to me like, within a given mock object, by default, the
ordering of method calls on that mock object is enforced. This is
super useful.
However, I have a few tests that have a number of mocked objects
coordinating. For example, I have a test with a mocked mutex and a
mocked disk library. I want to make sure that the ordering of calls to
the mock mutex and the mocked disk library are globally ordered, and
not just independently.
Can mox do this? Can mox enforce a global method call ordering (by
global, I mean within a given mox.Mox() session)? How hard would it be
to add?
Thanks
-JT