On terça-feira, 8 de outubro de 2013 09:56:59, André Somers wrote:
> > QtTest can test code with exceptions.
> > 
> > Just make sure that your exceptions don't escape the test slots. That's a
> > reasonable requirement.
> 
> Would it be reasonable/possible to record a FAIL on an exception instead?

Yes. And terminate the application afterwards.

That's what QtTest tries to do if your application crashes. In fact, since we 
have a crash handler, that will crash SIGABRT, which is what std::terminate() 
does. So we might not need anything.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to