From: Martin L. <mar...@de...> - 2002-11-18 19:13:59
|
Kyle Cordes wrote: > You might be able to hack around this by putting a mock > exception handerin Application.OnException, and having > your test cases ask if it it was called, etc. This should work, since TApplication.HandleException calls ShowException only when there's no OnException- handler. Actually. That's not entirely true. SysUtils.ShowException is called if the actuall exception-object doesn't derive from Exception. Has anybody ever seen that done? M. ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ |