Jan. 22, 2010
8:59 a.m.
On Jan 22, 2010, at 12:39 AM, Stefan Marr wrote:
Hi:
Have currently a lot of trouble with tests which are just deadlocking.
Here is quick hack which specifies a timeout for test cases. Maybe it is useful for others, too. Any suggestions for improvement are welcome.
maybe you can use #valueWithin:onTimeout: ? This is defined on blocks. "Evaluate the receiver. If the evaluation does not complete in less than aDuration evaluate the timeoutBlock instead" Marcus -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.